I just installed
WWW::Mechanize::Firefoxbut cannot even get it to complete this simple script:
#!/usr/bin/perl -w use strict; use WWW::Mechanize::Firefox; my $mech = WWW::Mechanize::Firefox->new(activate => 1); $mech->get("http://www.google.com"); printf("title: %s\n", $mech->title()); $mech->document(); $mech->content();
When I run it, I get the following response:
> www_mech_firefox_test.pl command timed-out at /home/user1/perl5/lib/perl5/MozRepl/Client.pm lin +e 186
Here is what I have verified so far:
1. mozrepl is installed and started within Firefox
2. port 4242 TCP/UDP is forwarded to my PC through my router
3. I can run "telnet localhost 4242" and get a MozRepl prompt
What else could be causing this problem?
EDIT: This is under cygwin, if it makes any difference.
In reply to can't get www::mechanize::firefox to work by Special_K
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |