Saturday, January 3, 2015

Running Selenium Webdriver tests on Internet Explorer browser

So finally added support to execute tests on Internet Explorer browser also in my github project

3 Simple steps to add Internet Explorer support in Selenium Webdriver project:
  1. Download the IEDriverServer.exe , you can download the latest version from for your target operating system.[download url may change, you can google latest if it changes]
  2. Extract the IEDriverServer.exe from the downloaded zip, and place in your project resources folder.
  3. Now, go to the Driver script where you are initializing the IEDriverServer and add the below code line to initialize the IEDriverServer.

System.setProperty("", <full system path of the IEDriverServer.exe. Example: c:\tests\resources\IEDriverServer.exe>);
WebDriver driver = new InternetExplorerDriver();

Tip : you can use the "System.getProperty("user.dir");" to get the current working directory and then append the path to IEDriverServer.exe
You can also view the complete code changes for your reference at

1 comment:

akhilapriya404 said...

This concept is a good way to enhance the knowledge.thanks for sharing. please keep it up selenium Online Training Hyderabad

AWS Certified Solutions Architect Associate - AWS Introduction - Questions

All the Best !!! Show Result !! Try Again !! ×