Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: help clicking radio buttons using WWW::Mechanize::Chromeby Corion (Patriarch) |
on Jan 13, 2021 at 20:01 UTC ( [id://11126865]=note: print w/replies, xml ) | Need Help?? |
Ouch - yes, that is an inconsistency/bug in the behaviour of ->click(). When the ->click() method results in external HTTP requests, then the returned value is an HTTP::Response object. When the result is just some internal Javascript code, the result is an arrayref of the triggered events. This is wrong and I'll make it so that ->click always returns an HTTP::Response object, as documented.
In Section
Seekers of Perl Wisdom
|
|