Handle Windows Authentication in Selenium Webdriver

First approach

You can provide credentials in URL itself it means we will add username and password in URL so while running script it will bypass the same.

Syntax

http://username:password@url

Example :

http://mukeshotwani:[email protected]

If username/password contanis the following special characters, you should use URL encoding(Percent-encoding)

相关推荐