/ automation

Mechanize- Automating browser navigation's through Script

Mechanize

Mechanize - Advantages

Basically mechanize is capable of navigating through the websites by logging into the site by form submission, clicking the links, maintaining session data, capturing the redirects.

We can use this series of scripts to perform a desired operation in a Web application through mechanize script.

Mechanize - Missing parts

Right now mechanize doesn't support the javascript execution within the mechanize, So mechanize team is adding javascript support to mechanize for future versions.

Workaround - We need to simulate javascript functions and calls in ruby methods and call those methods for appropriate actions.

[Complete doc - Mechanize][1]
[1]: http://mechanize.rubyforge.org/