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
- Invoke the Internet Explorer driver exe file from the location as below.
- To work with Internet Explorer you need to set the System property path with the location where your IEDriverServer.exe is available
- Now the Internet Explorer browser will be available, hence we can instantiate the Internet Explorer class.
public class internetBrowserExecution
Public static void main(String args)
String IEPath= “c:\\ IEDriverServer.exe”;
WebDriver driver = new InternetExplorerDriver();