Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 browsing the Monastery: (11)
As of 2014-09-18 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (121 votes), past polls