in reply to Re^2: Can't Find Form with WWW::Mechanize::Chrome
in thread Can't Find Form with WWW::Mechanize::Chrome
$mech->click_button(id => 'loginBtn');
Untested, should the id be prefixed with #? 'A selector prefixed with '#' must match the id attribute of the input'.
$mech->click_button(id => '#loginBtn');
|
|---|