in reply to WWW::Mechanize::Link get id from attrs
How do I get the id value from a WWW::Mechanize::Link object? my $id=$link->attrs->{id}; #returns nothing
That must mean there is no ID
Or, if there really is an ID, Corion didn't make that part work :) (unlikely but possible, in which case try find_link_dom)
Or can I call click and pass it the link object?
Try ...->click( $link, synchronize => 0 ); where $link is either either from find_link_dom or from find_link
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WWW::Mechanize::Link get id from attrs (firefox find_link_dom)
by Corion (Patriarch) on Feb 12, 2015 at 07:28 UTC | |
by Anonymous Monk on Feb 12, 2015 at 07:57 UTC | |
by Corion (Patriarch) on Feb 12, 2015 at 08:14 UTC |