Showing posts with label 32 Bit Internet Explorer Driver. Show all posts
Showing posts with label 32 Bit Internet Explorer Driver. Show all posts

How to handle Authentication PopUp using Selenium?

Sometime we have to automate websites which shows authentication Pop Up like mentioned below:











In order to automate this PopUp, we will pass UserId and Password via URL:

http://username:password@anytestwebsite.com

Java Script:

String URL = "http://" + username + ":" + password + "@" + anytestwebsite.com;
driver.get(URL);
Alert alert = driver.switchTo().alert();
alert.accept();

Chrome and Internet Explorer driver



Download 32 Bit Chrome Driver by clicking on below Download link:

DOWNLOAD

You can use 32 Bit Chrome Driver on 32 Bit as well as 64 Bit Windows. There is no 64-bit Chrome on Windows yet (See this ticket), as a result there is no ChromeDriver for 64-bit Windows.

Here 32/64 bit are in terms of browser's architecture, not the OS.

Download 64 Bit Internet Explorer Driver by clicking on below Download link:

DOWNLOAD