in reply to What does WWW::Mechanize consider Clickable input?
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! |
|---|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What does WWW::Mechanize consider Clickable input?
by ForgotPasswordAgain (Vicar) on Jan 15, 2007 at 21:49 UTC |