http://qs321.pair.com?node_id=595425


in reply to Re^2: WWW::Mechanize fetch differs from firefox browser result (was Re: WWW::Mechanize or WWW::Selenium with javascript redirect)
in thread WWW::Mechanize or WWW::Selenium with javascript redirect

I am going to try out LiveHTTPHeaders; thanks for that suggestion. I think partly my difficulties are just due to my general ignorance of javascript.

However, I still see value value in figuring out a more general way to do it, that susses out any popup windows and checks them, regardless of how they were generated. If I can get that to work, I won't have to change the code even if something changes in the javascript.

  • Comment on Re^3: WWW::Mechanize fetch differs from firefox browser result (was Re: WWW::Mechanize or WWW::Selenium with javascript redirect)

Replies are listed 'Best First'.
Re^4: WWW::Mechanize fetch differs from firefox browser result (was Re: WWW::Mechanize or WWW::Selenium with javascript redirect)
by sl7020 (Initiate) on Jul 17, 2007 at 19:16 UTC
    I'm also trying LiveHTTPHeaders, the output is a little confusing though.

    Question:

    1. Many HTTP lines are passed.
    2. Do I need to create a new mech object for each "HTTP" that I captured?
    Has anyone had any success yet?
      So you need to read a basic HTTP/CGI tutorial