in reply to Mechanize, Javascript, Cookies, and you!

You may need WWW-Mechanize-Firefox. Implementing a javascript engine is hard. The idea behind Mechanize-Firefox is to control firefox and have it do that part of the job. A cool idea.
  • Comment on Re: Mechanize, Javascript, Cookies, and you!

Replies are listed 'Best First'.
Re^2: Mechanize, Javascript, Cookies, and you!
by GaijinPunch (Pilgrim) on Jun 21, 2011 at 02:42 UTC
    Checking into this -- this looks like it would be right up my alley. I will read through it, but something I'm wondering: does it require X? This will eventually run on a remote machine w/o an X-server. :)

    Anyway, cheers -- got something to explore for a while, that's for sure.

      The people who use WWW::Mechanize::Firefox without a display usually seem to run a VNC server and redirect Firefox to it.

        Thanks -- good stuff here. Will mess around w/ it tonight. I can actually live w/ it running on my machine at home, which has X... however, sucks that I'm a little vulnerable to my own home's network, my wife flicking off the switch, etc.

        . My machine is a virtual dedicated, so I think in a pinch I could do something for a fake X-session.
      When I started playing with the mozrepl interface, I logged on with putty. Firefox has to be running, but don't think that you will need to "watch" the screen. Read the docs, install the firefox add-on, then play a bit to see how it works. This interface is what Mechanize-Firefox talks to. might want to google mozrepl also. Have fun!