laziness, impatience, and hubris | |
PerlMonks |
Re: Mechanize, Using WWW instead of IEby dorko (Prior) |
on Jan 28, 2007 at 05:21 UTC ( [id://596935]=note: print w/replies, xml ) | Need Help?? |
$ie->follow_link( url => 'javascript:__doPostBack(\'ctl00$cpMain$pagerBottom\',\'' . $page . '\')' ); You're right in that link is Javascript based and WWW::Mechanize can't handle Javascript. In fact, I've seen Win32::IE::Mechanize suggested for use when you're trying to deal with web pages that rely on Javascript (like yours does). Because Win32::IE::Mechanize uses Internet Explorer, it can handle Javascript. Cheers,
Brent
-- Yeah, I'm a Delt.
In Section
Seekers of Perl Wisdom
|
|