Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Can't Find Form with WWW::Mechanize::Chrome

by marto (Cardinal)
on May 12, 2020 at 09:34 UTC ( [id://11116704]=note: print w/replies, xml ) Need Help??


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');

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11116704]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found