title: Setting path to firefox binary on windows with selenium webdriver
body: <p>I am trying to build a utility function to  output beautiful soup code to a browser I have the following code:</p>
  
  <pre><code>def bs4_to_browser(data):
  
      from selenium import webdriver
  
      driver = webdriver.Firefox(path="F:\FirefoxPortable\Firefox.exe")
      driver.get("about:blank")
  
      data = '&lt;h1&gt;test&lt;/h1&gt;'  # supposed to come from BeautifulSoup
      driver.execute_script('document.body.innerHTML = "{html}";'.format(html=data))
  
      return
  </code></pre>
  
  <p>when I run this I get:</p>
  
  <pre><code>TypeError at /providers/
  __init__() got an unexpected keyword argument 'path'
  </code></pre>
  
  <p>I am using win7. How to I set the path to the portable firefox executable?</p>