in reply to WWW::Mechanize::Firefox and checkbox
The documentation for ->tick says as its last sentence:
If $name is a reference to a hash, that hash will be used as the options to ->find_link_dom to find the element.
So you can pass the appropriate parameters for ->find_link_dom:
$mech->tick( { id => 'chkBsc' }, '', 1 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WWW::Mechanize::Firefox and checkbox
by diwaniuk (Initiate) on Apr 03, 2014 at 12:42 UTC |