title: Issue with BASIC HTTP authentication using Selenium in Python
body: <p>I am trying to test a web app that has BASIC authentication (there is a popup that comes up to authenticate the user when I hit whatever page, the popup is not part of the HTML). After entering the username/password and clicking OK on the popup the main login page appears.</p>
  
  <p>Now, I need to a strategy to authenticate the user in Firefox on the popup. I tried the following looking at some old atricles in the Stack Overflow and this is not working for me.</p>
  
  <p>Can some please guide me how to proceed? I have Selenium 2.5.0 installed and using python for scripting.</p>
  
  <pre><code>profile = webdriver.FirefoxProfile()
  profile.set_preference("network.automatic-ntlm-auth.trusted-uris", "website url")
  driver = webdriver.Firefox(firefox_profile=profile)
  driver.get("http://username:password@WebsiteURL")
  </code></pre>