EDIT in 2015:
This answer is outdated. WebDriver nowadays supports authentication! See How to handle authentication popup with Selenium WebDriver using Java
This is not handled very well by Selenium.
You can try using
instead of just
However, as far as I know, Firefox will still pop up a browser dialog requesting a confirmation.
You could use
driver.manage().addCookie() if you’re using WebDriver.
Or a custom FirefoxProfile that has already passed the authentication once.
- You must login to post comments