Handling browser level authentication Selenium
Handling browser level authentication Selenium
Whenever a site prompts for an username and password, make use of the following script to override such authentication,
driver.get("http://username:password@site.com/page");
e.g., driver.get("http://admin:root@site.com/page");