The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, and can follow links and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. This library was heavily influenced by its namesake in the Perl world. Mechanize#transact runs the given block and then resets the page history. I.e. after the block has been executed, you're back at the original page; no need to count how many times to call the back method at the end of a loop (while accounting for possible exceptions).

Features

  • Automate interaction with websites
  • Form fields can be populated and submitted
  • Automatically store and send cookies
  • Use bundler to install dependencies
  • This library is distributed under the MIT license
  • Follow redirects, follow links and submit forms

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Mechanize

Mechanize Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mechanize!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Libraries, Ruby Web Development Software

Registered

2022-01-31