click() takes the name of the button as an argument, in your example the name is 'submit', and the value is 'Submit' (one is capitalized, the other is not.) If you want to click a button by value, you can use the click_button() method...
$mech->click_button( value => 'Submit' );
| We're not surrounded, we're in a target-rich environment! |
|---|
In reply to Re: What does WWW::Mechanize consider Clickable input?
by jasonk
in thread What does WWW::Mechanize consider Clickable input?
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |