Features

Basic HTTP Authentication

If you are testing a website that is protected with Basic HTTP Authentication, then your automated test might get stuck when opening the URL.

You can pass the username and password in the URL, see the example below:

driver.navigate.to "https://<username>:<password>@www.example.com/password.html"
driver.get("https://<username>:<password>@www.example.com/password.html")
$web_driver->get("https://<username>:<password>@www.example.com/password.html");
driver.get("https://<username>:<password>@www.example.com/password.html")
driver.get('https://<username>:<password>@www.example.com/password.html').then(function(){
});
driver.Navigate().GoToUrl("https://<username>:<password>@www.example.com/password.html");