title: Webdriver in Python - Executing JavaScript file and passing arguments to its function
body: <p>I need to execute function written in JavaScript and also pass arguments.</p>
  
  <pre><code>value = driver.execute_script(open("path/file.js").read())
  </code></pre>
  
  <p>I can execute that file but I don't know how to pass arguments to that function.
  Any idea? Thanks!</p>