Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: can't get www::mechanize::firefox to work

by Special_K (Monk)
on Apr 13, 2013 at 19:16 UTC ( [id://1028546]=note: print w/replies, xml ) Need Help??


in reply to Re: can't get www::mechanize::firefox to work
in thread can't get www::mechanize::firefox to work

I added

$ENV{MOZREPL} = "localhost:4242";

but that didn't change anything.

Replies are listed 'Best First'.
Re^3: can't get www::mechanize::firefox to work
by Corion (Patriarch) on Apr 13, 2013 at 20:08 UTC

    That's weird.

    From the test scripts all skipping, it seems that telnet can connect. So I suggest you consult with your system administrator as to why that would be while Firefox cannot connect from the same machine.

      I was reading the documentation for MozRepl and found this:

      In cygwin, please add binmode param as 1 in client args.

      $repl->setup({ client => { extra_client_args => { binmode => 1 } } });

      Is the above relevant to www::mechanize::firefox? How would I implement the above using the functions included in www::mechanize::firefox?

        WWW::Mechanize::Firefox uses MozRepl::RemoteObject, which uses MozRepl, so this could be relevant. I don't use Cygwin, so I don't know if this really is relevant.

        I think the easiest way is to pass in a preconstructed MozRepl object when constructing the WWW::Mechanize::Firefox object.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-28 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found