Showing posts with label IEdriver. Show all posts
Showing posts with label IEdriver. Show all posts

Friday, 18 January 2013

How to run the Webdriver in Internet Explorer?


How to run the Webdriver in Internet Explorer?


1. First you need to download the IE Webdriver:

Here is the Link to Download:

http://code.google.com/p/selenium/downloads/list

2. Use the Below code in your Java Program:


System.setProperty("webdriver.ie.driver", "Path of IEDriver");
driver = new InternetExplorerDriver();


Note:  You need to specify the path with double slash

Eg : E:\\IEDriverServer_x64_2.28.0\\IEDriverServer.exe