5 ms·
Mechanize for Perl & Ruby is quite cool. However, it's not able to execute JavaScript. The only lib I found which does so with a reasonable subset of JS is Htt
by kunley 17y ago
Mechanize for Perl & Ruby is quite cool.
However, it's not able to execute JavaScript. The only lib I found which does so with a reasonable subset of JS is HttpUnit, in Java. Though it has kind of ugly interface IMO, I use it with a success. Doing it from a Clojure REPL makes it quite handy tool for web scripting.
- draegtun 17y agoTo use Javascript then try the CPAN module WWW::Selenium (http://search.cpan.org/dist/Test-WWW-Selenium/ http://search.cpan.org/dist/Test-WWW-Selenium/).
- regularfry 17y agoAlso available to JRuby as Celerity, which rocks.
- kunley 17y agoLooks cool, thanks!
- geoscripting 17y agoI used Selenium or WebDriver for that. Not bad.