title: How to call a JavaScript function from within Selenium?
body: <p>I need to call a JavaScript function from Selenium WebDriver in Firefox. 
  I use this command in Firebug's Command Editor to invoke a file upload application after logged into my website:</p>
  
  <pre><code>infoPanel.applicationManager.changeApp('FileUploader', {action: 'new'})
  </code></pre>
  
  <p>Is there a way to execute this from Selenium? </p>