Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Control the browser with Perl6

by Marshall (Abbot)
on Feb 24, 2012 at 07:49 UTC ( #955887=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://955887]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2018-05-22 03:26 GMT
Find Nodes?
    Voting Booth?