How can I call onclick method instead of submit using ruby Mechanize?
<input type="Submit" value="Search" name="B2" onclick="getABC()">
you can't, mechanize doesn't run javascript. use selenium or phantom