Timboh56 has asked for the wisdom of the Perl Monks concerning the following question:
<TD class=ClickMe vAlign=center>SuccessRate</TD></TR></TBODY></TABLE></TD></TR>
Now I'm using Win32::IE::Mechanize, I tried to do something like:
my @elements = $mech->agent()->Document->getElementsByClass('ClickMe'); then I would look for that certain element in that collection of returned elements and theoretically (if it worked) do a click() on that element, but for some unknown reason, this line returns an array with nothing. Same goes with getElementsByTag, which makes no sense, because the page is littered with table /td /tr tags.
If somebody can put some sense into this, or provide an alternative method within this module, that would be greeeatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32 IE Mechanize unclickable links
by Anonymous Monk on Jun 17, 2011 at 01:40 UTC | |
by Timboh56 (Initiate) on Jun 17, 2011 at 14:28 UTC | |
by Corion (Patriarch) on Jun 17, 2011 at 14:35 UTC | |
by Timboh56 (Initiate) on Jun 17, 2011 at 14:39 UTC | |
by Anonymous Monk on Jun 17, 2011 at 14:55 UTC | |
|