title: How to trigger a javascript event with this button definition from Python Selenium script
body: <pre><code>&lt;div id="feesnav"&gt;
  &lt;div style="float: right;"&gt;
  &lt;button id="b2" class="adjustuserfees_button active" onclick="cusers(this)"/&gt;
  &lt;/
  </code></pre>
  
  <p>Say I want to click on button b2 using python selenium. Tried all sorts of xpath definition and it retunrs can't find the locator error</p>
  
  <p>The following code does not work:</p>
  
  <pre><code>  self.sel.fire_event("//div[@id='feesnav']//button[@id='b2']", 'click')
    or  self.sel.mouse_down("//div[@id='feesnav']//button[@id='b2']")
  </code></pre>
  
  <p>Any suggestions?</p>