How to resolve below Exception

My code is :

package ieproject;

public class LaunchIEBrowser {
public static void main(String[] args)throws InterruptedException{
System.setProperty(“”, “C:/Chromedriver/IEDriverServer.exe”);
InternetExplorerDriver driver= new InternetExplorerDriver();
System.out.println(“Website is opened successfully”);

Exception is :

Exception in thread “main” org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: ‘2.48.2’, revision: ’41bccdd’, time: ‘2015-10-09 19:55:52′
System info: host: ‘HireCraft-PC’, ip: ‘’, ‘Windows 7′, os.arch: ‘x86′, os.version: ‘6.1’, java.version: ‘1.8.0_65′
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(
at org.openqa.selenium.remote.RemoteWebDriver.execute(
at org.openqa.selenium.remote.RemoteWebDriver.quit(
at ieproject.LaunchIEBrowser.main(
Caused by: java.lang.RuntimeException: Process refused to die after 10 seconds, and couldn’t taskkill it: Unable to find executable for: taskkill
at org.openqa.selenium.os.ProcessUtils.killWinProcess(
at org.openqa.selenium.os.ProcessUtils.killProcess(
at org.openqa.selenium.os.UnixProcess$SeleniumWatchDog.destroyHarder(
at org.openqa.selenium.os.UnixProcess$SeleniumWatchDog.access$2(
at org.openqa.selenium.os.UnixProcess.destroy(
at org.openqa.selenium.os.CommandLine.destroy(
at org.openqa.selenium.remote.service.DriverService.stop(
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(
at org.openqa.selenium.remote.RemoteWebDriver.execute(
… 3 more
Caused by: java.lang.NullPointerException: Unable to find executable for: taskkill
at org.openqa.selenium.os.UnixProcess.<init>(
at org.openqa.selenium.os.CommandLine.<init>(
at org.openqa.selenium.os.WindowsUtils.killPID(
at org.openqa.selenium.os.ProcessUtils.killWinProcess(
… 11 more

Praveen Train Asked on January 6, 2016 in Selenium WebDriver.
Add Comment
1 Answer(s)

Hey Praveen,

Thanks for posting this question.
Can you try this
– Get the latest Webdriver jars and then try
– Try the steps here

Let us know if this solves the problem.

Also do post these two additional information
– What version of Windows are you on?
– What is the IE browser version?


Virender Singh Professor Answered on January 6, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.