🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

mechanize

Package Overview
Dependencies
Maintainers
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mechanize

2.14.0
Rubygems
Version published
Maintainers
5
Created
Source

Mechanize

  • https://www.rubydoc.info/gems/mechanize/
  • https://github.com/sparklemotion/mechanize

Test suite

Description

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.

Dependencies

  • Ruby >= 2.6
  • Gems:
    • addressable
    • domain_name
    • http-cookie
    • mime-types
    • net-http-digest_auth
    • net-http-persistent
    • nokogiri
    • rubyntlm
    • webrick
    • webrobots

Support:

The bug tracker is available here:

Examples

If you are just starting, check out GUIDE.rdoc or EXAMPLES.rdoc.

Developers

Use bundler to install dependencies:

bundle install

Run all tests with:

bundle exec rake test

See also Mechanize::TestCase to read about the built-in testing infrastructure.

Authors

  • Eric Hodel
  • Akinori MUSHA
  • Aaron Patterson
  • Lee Jarvis
  • Mike Dalessio

Acknowledgments

This library was heavily influenced by its namesake in the Perl world. A big thanks goes to Andy Lester, the author of the original Perl module WWW::Mechanize which is available here. Ruby Mechanize would not be around without you!

Thank you to Michael Neumann for starting the Ruby version. Thanks to everyone who's helped out in various ways. Finally, thank you to the people using this library!

License

This library is distributed under the MIT license. Please see LICENSE.txt.

FAQs

Package last updated on 05 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

OSZAR »