Monday, February 15, 2016

Launch IE


To launch Internet explorer

To run selenium webdriver in IE browser, we need InternetExplorerDriver which is a standalone server which implements WebDriver's wire protocol.
First of all, download latest version of IEDriver server for webdriver. You can download latest version server from Download InternetExplorerEDriver
Note: Choose the IEdriver server based on your working environment as there are two different zip files for both 32 and 64 bit IE . 
Save the downloaded file to your local machine.
In your code you need to set the system property for IE driver as
System.setProperty("webdriver.ie.driver","D:\\IEDriverServer.exe");


Script :



Output :
Should launch IE browser and should navigate to google site.



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.