title: How do I call a Javascript function from Python?
body: <p>I am working on a web-scraping project. One of the websites I am working with has the data coming from Javascript.</p>
  
  <p>There was a suggestion on <a href="https://stackoverflow.com/q/8631500/3357935">one of my earlier questions</a> that I can directly call the Javascript from Python, but I'm not sure how to accomplish this.</p>
  
  <p>For example: If a JavaScript function is defined as: <code>add_2(var,var2)</code></p>
  
  <p>How would I call that JavaScript function from Python?</p>