Chrome not reachable Selenium WebDriver error

Home / Uncategorized / Chrome not reachable Selenium WebDriver error

i am facing this issue, i know this question is already present and i have tried the solutions mentioned hence asking this with my configurations and code

Earlier the scripts were running but now they aren’t So i tried making a basic open browser script. Latest Version of Selenium WebDriver :

Latest Version on ChromeDriver :

Basic Open browser code:`package Trial;

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.WebDriver;

public class Trial_Class {
public static void main(String args[]){
System.setProperty("", "chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);


But still i am getting the below error :Starting ChromeDriver 2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8) on port 43967
Only local connections are allowed.
Exception in thread "main" org.openqa.selenium.WebDriverException: chrome not reachable
(Driver info: chromedriver=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),platform=Windows NT 6.3.9600 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 61.81 seconds
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘SWATI’, ip: ‘’, ‘Windows 8.1’, os.arch: ‘amd64’, os.version: ‘6.3’, java.version: ‘1.8.0_121’
Driver info: driver.version: ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(
at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(
at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$24(
at$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at Source)
at Source)
at Source)
at Source)
at$FindOp.evaluateSequential(Unknown Source)
at Source)
at Source)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(
at org.openqa.selenium.remote.ProtocolHandshake.createSession(
at org.openqa.selenium.remote.HttpCommandExecutor.execute(
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(
at org.openqa.selenium.remote.RemoteWebDriver.execute(
at org.openqa.selenium.remote.RemoteWebDriver.startSession(
at org.openqa.selenium.remote.RemoteWebDriver.startSession(
at org.openqa.selenium.remote.RemoteWebDriver.(
at Trial.Trial_Class.main(

Thanks in Advance.

The error org.openqa.selenium.WebDriverException: chrome not reachable says it all.

Though you have specified the Key attribute properly within System.setProperty("…", "…"); but you haven’t provided the absolute path of the chromedriver within Value field. So if your chromedriver is located within C:UtilityBrowserDrivers, update the System.setProperty("…", "…"); line as below:System.setProperty("", "C:\Utility\BrowserDrivers\chromedriver.exe");

Additionally remove the second declaration of implicitlyWait()

Once you set ImplicitWait, it is valid till the lifetime of the WebDriver instance. See this Discussion for more details.
Read more

Leave a Reply

Your email address will not be published. Required fields are marked *