title: How to click the button via Selenium with 'onclick' info only?
body: <p>The only thing html has with the button is:</p>
  <pre><code>&lt;button onclick=&quot;exportTableToCSV('hahaha.csv')&quot;&gt;export as csv&lt;/button&gt;
  </code></pre>
  <p>No class or id or name or type.<br />
  Tried with xpath and link text, neither works.</p>
  <pre><code>browser.find_element_by_xpath(&quot;//button[onclick=\&quot;exportTableToCSV('hahaha.csv')\&quot;]&quot;).click()
  browser.find_element_by_link_text(&quot;export as csv&quot;).click()
  </code></pre>
  <p>Both return to error:</p>
  <blockquote>
  <p>Message: no such element: Unable to locate element: {&quot;method&quot;:&quot;xpath&quot;,&quot;selector&quot;:&quot;//button[onclick=&quot;exportTableToCSV('hahaha.csv')&quot;]&quot;}</p>
  </blockquote>
  <blockquote>
  <p>Message: no such element: Unable to locate element: {&quot;method&quot;:&quot;link text&quot;,&quot;selector&quot;:&quot;export as csv&quot;}</p>
  </blockquote>
  <p>Help appreciated!!!</p>