rethaew has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to get Win32::IE::Mechanize to click on a link that doesn't have any href on it. HTML simplified is
<a onClick="runascript()">Click Here</a>
Anyway to click this link? follow_link() doesn't work because it is looking for the href. The only click options I found are for buttons. Also I can not just extract the url that the script ultimately links to because it is part of a frameset and is targeting another frame. Any ideas?

Replies are listed 'Best First'.
Re: Win32::IE::Mechanize Clicking on link without HREF
by Anonymous Monk on Oct 29, 2009 at 19:14 UTC