title: How to get value of onclick using xpath?
body: <p>I have this piece of Html: </p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;tr class="selectable" onclick="PesquisarProntuarioView.EditarProntuario('108077098085')"&gt;
  </code></pre>
  
  
  
  <p>I would like to get what is inside onclick, i was looking for a command which would give me:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>"PesquisarProntuarioView.EditarProntuario('01048108077098085')"</code></pre>
  </div>
  </div>
  </p>
  
  <p>I already have tried several commands like this one:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>element=driver.find_element_by_xpath("//a/tr/@onlick=PesquisarProntuarioView.EditarProntuario(*)")
  
  driver.get(element)</code></pre>
  </div>
  </div>
   </p>
  
  <p>However still no clue, Could someone please help me with the respective command in Selenium/Python?</p>