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

1 comment:

  1. it is openning a IEBrowser but not performaing any action as per my java code. what to i need to do. pls let me knoe urgently.

    ReplyDelete