title: handling button onclick events using selenium webdriver
body: <p>I have html code for button like below</p>
  
  <pre><code>&lt;button class="btn btn-mini" onclick="setLive()"&gt;
  </code></pre>
  
  <p>I would like to write a selenium script which could check whether the button is clicked or not. could someone tell me how could I write a script in selenium webdriver.</p>