in reply to Mechanize, Using WWW instead of IE
$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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Mechanize, Using WWW instead of IE
by bart (Canon) on Jan 29, 2007 at 12:09 UTC |
In Section
Seekers of Perl Wisdom