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!
In reply to Re: WWW::Mechanize::Chrome: Click on button not part of a form
by 1nickt
in thread WWW::Mechanize::Chrome: Click on button not part of a form
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |