" /> " /> "/>

Call onclick Ruby Mechanize

273 Views Asked by At

How can I call onclick method instead of submit using ruby Mechanize?

<input type="Submit" value="Search" name="B2" onclick="getABC()">
1

There are 1 best solutions below

0
max pleaner On BEST ANSWER

you can't, mechanize doesn't run javascript. use selenium or phantom