How to Perform Basic Authentication for Firefoxdriver, Chromedriver and Iedriver in Selenium Webdriver

How to perform Basic Authentication for FirefoxDriver, ChromeDriver and IEdriver in Selenium WebDriver?

True, BASIC HTTP authentication is not currently supported but I got it working now for FF and for Chrome.

The code I wrote in the questions works for those drivers. I just tried using FF3.6 as Firefox default browser (installed in Firefox folder) instead of FF4 (not supported yet). For IE, i may try to disable the authentication through Windows Registry.

This page http://code.google.com/p/selenium/issues/detail?id=34 may help.

How to submit HTTP authentication (Flask BASIC Auth) with Selenium to ChromeDriver

Resolved by adding a / at the end of the URL

driver.get('https://user:password@192.168.178.55:7000/wow/')


Related Topics



Leave a reply



Submit