Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Control the browser with Perl6

by Marshall (Monsignor)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2016-10-23 20:45 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.