![]() |
|
Welcome to the Monastery | |
PerlMonks |
WWW::Mechanize fetch differs from firefox browser result (was Re: WWW::Mechanize or WWW::Selenium with javascript redirect)by tphyahoo (Vicar) |
on Jan 18, 2007 at 15:37 UTC ( #595271=note: print w/replies, xml ) | Need Help?? |
With some prodding from shmem, I was able to make progress, culminating in the code post above for "Update 2".
However, I still can't match the text I want, becuase the page fetched with WWW::Mech differs from the text I get when I open the url in firefox and do view source. This is either no longer a javascript issue, or if it is a javascript issue I don't understand how to troubleshoot it. At any rate, to simply reiterate the test case for my problem (basically the same as Update 2 above, but shorter and simpler):
Can anyone prod me further in the right direction? PS: I'm still wondering if I would get better results with Win32::IE::Mechanize or WWW::Selenium or Mozilla::Mechanize. UPDATE: better user agent string after perrin comment.
In Section
Seekers of Perl Wisdom
|
|