How to run Selenium Webdriver with Internet Explorer

0
239
Selenium Exeuction In Internet Explorer Execution

 

To work with Internet Explorer browser, Selenium WebDriver cannot directly invoke the Internet Explorer browser because there is no native implementation. So, we need to download the Internet Explorer driver Server.

What is Internet Explorer Driver Server?

Internet Explorer Driver server is an executable file, which will support the invoking of the Internet Explorer browser through Selenium. You can download Internet Explorer Driver here.

Based on our 32 or 64 bit operating machine, we can download the necessary Driver files.

The download is available here in Zip format. After download extract the zip file and store it in an particular location in your Computer.

How to Launch Selenium WebDriver for Internet Explorer browser?

To launch the Internet Explorer Browser we need to

  1. Invoke the Internet Explorer driver exe file from the location as below.
  2. To work with Internet Explorer you need to set the System property path with the location where your IEDriverServer.exe is available
  3. Now the Internet Explorer browser will be available, hence we can instantiate the Internet Explorer class.

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here