Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: web mechanize issue with javascript...by bart (Canon) |
on May 01, 2006 at 08:06 UTC ( [id://546655]=note: print w/replies, xml ) | Need Help?? |
Yes, Win32::IE::Mechanize does do Javascript. It behaves a little oddly: code like document.write(...); includes both the original Javascript, as the generated result, in the "source". So it can't be a true compatible replacement for WWW::Mechanize... Once you take that behaviour into account, it works out very well.
An obvious limitation is that it only works on Windows, and you need an install of MSIE. But, given the former, the latter comes as a given. ;-)
In Section
Seekers of Perl Wisdom
|
|