in reply to WWW::Mechanize::Chrome: Click on button not part of a form
Hi Steve, going by your error output, maybe you want <button type="button" name="test-button">Test</button> (name rather than id)?
Update: per the doc: Has the effect of clicking a button (or other element) on the current form. The first argument is the name of the button to be clicked.
Hope this helps!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WWW::Mechanize::Chrome: Click on button not part of a form
by stevieb (Canon) on Dec 01, 2019 at 15:07 UTC |