in reply to [Solved] Checking onclick attribute of an anchor tag with WWW:::Mechanize::Firefox
I haven't used it, but reading way down in the examples in the docs, it looks like you might want the "$mech->clickables" method. It's listed near the bottom of "Form Methods"
It gives the example:print "You could click on\n"; for my $el ($mech->clickables) { print $el->{innerHTML}, "\n"; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Checking onclick attribute of an anchor tag with WWW:::Mechanize::Firefox
by Riales (Hermit) on Mar 05, 2012 at 10:37 UTC | |
by Anonymous Monk on Mar 05, 2012 at 10:56 UTC |