title: rails capybara - how to detect js clicking on a li (not a link or a button)
body: <p>I have a js submit button that is a input element within an li.
  So it is not a link or a button and presumably this is why the <code>click_on</code> isn't working right - I get</p>
  
  <pre><code>Failure/Error: click_on 'user_submit_action'  
  Capybara::ElementNotFound:
     no link or button 'user_submit_action' found
  </code></pre>
  
  <p>Code...</p>
  
  <pre><code>&lt;/fieldset&gt;
        &lt;fieldset class="actions"&gt;&lt;ol&gt;
         &lt;li class="action input_action" id="user_submit_action"&gt;&lt;input class="a1" name="commit" type="submit" value="Create User" /&gt;&lt;/li&gt;
  &lt;/ol&gt;&lt;/fieldset&gt;&lt;/form&gt;  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>