How To Resolve IllegalStateException for IEdriver in Selenium

February 03, 2014

This is a very common problem and I found the solution while doing a preliminary checklist.

Well, this problem occurred when my friend tried to execute his first selenium script with IE.

As per code concern he has used..

System.setProperty("","C:\\Perl64\\bin\\IEDriverServer" );
InternetExplorerDriver d3 = new InternetExplorerDriver();

With this he got the below written exception..

Exception in thread "main" java.lang
.IllegalStateException: The driver executable does not exist: C:\Perl64\bin\IEDriverServer
at org.openqa.selenium.remote.service.DriverService.checkExecutable(
at org.openqa.selenium.remote.service.DriverService.findExecutable(

Its complaining that the IEDriver does not exist  "The driver executable does not exist: C:\Perl64\bin\IEDriverServer"

Now question is how to solve this problem, well..while doing a preliminary check list I found the basic problem i.e like most of us he forgot to add .exe in the driver.  i.e.--

System.setProperty("","C:\\Perl64\\bin\\IEDriverServer.exe" );
InternetExplorerDriver d3 = new InternetExplorerDriver();

This code worked fine.

You Might Also Like


  1. Excellent post!!! Selenium automation testing tool makes your software validation process lot simpler. Keep on updating your blog with such awesome information. Selenium Training in Chennai| Selenium Course in Chennai | Best Selenium training institute in Chennai