http://www.perlmonks.org?node_id=955887


in reply to Control the browser with Perl6

In the "Library for WWW with Perl", (LWP) "wars", Corion's Mechanize::Firefox is like the ultimate "nuclear weapon"!

It is possible to telnet into Firefox (if you have the MozRepl add-on installed) and "drive it around" and that is just way cool! WWW::Mechanize::Firefox uses that interface.

I have no idea of how to run JavaScript from within Perl. The good news is that most of the time, you don't have to do it (actually run the JavaScript).

Replies are listed 'Best First'.
Re^2: Control the browser with Perl6
by Anonymous Monk on Feb 24, 2012 at 09:19 UTC
    "Ultimate" is subjective. :) The various Webkit Perl bindings are technically superior, Mozrepl is a crummy hack compared to driving a browser around on the windowing/widget level.

    Mech-Firefox maintains the overall advantage because of its copious documentation and Corion diligently giving support.