Mechanize ¶ ↑
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 1.9.2 or newer
Support:¶ ↑
The bug tracker is available here:
Examples¶ ↑
If you are just starting, check out the GUIDE or the EXAMPLES file.
Developers¶ ↑
Use bundler to install dependencies:
bundle install
Run all tests with:
rake test
You can also use autotest
from the ZenTest gem to run tests.
See also Mechanize::TestCase to read about the built-in testing infrastructure.
Authors¶ ↑
Copyright © 2005 by Michael Neumann (mneumann@ntecs.de)
Copyright © 2006-2011:
-
Aaron Patterson (aaronp@rubyforge.org)
-
Mike Dalessio (mike@csa.net)
Copyright © 2011-2015:
-
Eric Hodel (drbrain@segment7.net)
-
Akinori MUSHA (knu@idaemons.org)
-
Lee Jarvis (ljjarvis@gmail.com)
This library comes with a shameless plug for employing me (Aaron) programming Ruby, my favorite language!
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 the LICENSE file.