Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Control the browser with Perl6

by Marshall (Prior)
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).


Comment on Re: Control the browser with Perl6
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://955887]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2014-08-22 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (152 votes), past polls