title: Click on button with custom event with Ruby Mechanize
body: <p>I have a block of HTML code that contains a button </p>
  
  <pre><code>&lt;button class="someButton" onclick="openPage('test')"&gt;&lt;/button&gt;
  </code></pre>
  
  <p>I need to click on this button with Mechanize.
  Mechanize has API to work with buttons via forms. But:</p>
  
  <ol>
  <li>Mechanize can interact with buttons only via forms and there is not
  form, just a single button </li>
  <li>Creating form manually does not allow to click on button because it supports only buttons that make submit</li>
  </ol>
  
  <p>Is there any way how to click on button with custom event?</p>