agaved has asked for the wisdom of the Perl Monks concerning the following question:
I tried to run:
use WWW::Mechanize::Firefox; my $mech = WWW::Mechanize::Firefox->new(); $mech->get('http://google.com'); $mech->eval_in_page('alert("Hello Firefox")'); my $png = $mech->content_as_png();
and got:
Can't locate object method "dive" via package "MozRepl::RemoteObject:: +Methods" at /usr/local/ActivePerl-5.12/site/lib/WWW/Mechanize/Firefox +.pm line 220, <DATA> line 1.
I have WWW::Mechanize::Firefox 0.65, MozRepl::RemoteObject::0.31, MozRepl::0.06 installed.
Any help is greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Method dive not found on WWW::Mechanize::Firefox / MozRepl::RemoteObject
by Corion (Patriarch) on Apr 10, 2012 at 14:18 UTC | |
by spacebat (Beadle) on Apr 10, 2012 at 14:34 UTC | |
by Corion (Patriarch) on Apr 10, 2012 at 16:04 UTC | |
by agaved (Novice) on Apr 10, 2012 at 19:23 UTC |