title: How to get html element inside button?
body: <pre><code>&lt;button type="button" name="abc" id="abc" class="bp" onmouseover="this.className = 'bp bph'" onmouseout="this.className = 'bp'" onclick="oCV_NS_.promptAction('finish')" style="font-family:&amp;quot;Arial&amp;quot;;font-size:9pt"&gt;
  &lt;span tabindex="0"&gt;GENERATE REPORT&lt;/span&gt;
  
  &lt;/button&gt;
  </code></pre>
  
  <p>I want to click this button and tried few codes but nothing worked
  tried:</p>
  
  <p><code>driver.find_element_by_id("abc").click();</code></p>
  
  <p><code>driver.find_element(By.ID, "abc")</code></p>
  
  <p><code>element_by_name</code> also tried</p>