title: How to execute a function in chrome Console using webdriver in python?
body: <p>I have a something like this...</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div style="float:left"&gt;
    &lt;input type="button" value="Print" onclick="onPrintClick()" class="buttonStyle"&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  
  This is a snipppet from a dynamic webpage.</p>
  
  <p>I'm unable to click this button using <em>CSS_selector / xpath / id</em> or in some other ways. It always says "<em>There is no such element found</em>". So I want to run  "<strong>onPrintClick()</strong>" in chrome <strong>console</strong> which actually has the same action as clicking the button. So, can  anyone help me regarding this "<strong><em>clicking the button</em></strong>" or "<strong><em>executing the js function i.e. 'onPrintClick()</em></strong>' in chrome console" in python ?</p>
  
  <p>Thanks. </p>