pypigoogle-chrome95% confidence\u2191 390

WebDriverException: unknown error: DevToolsActivePort file doesn't exist while trying to initiate Chrome Browser

Full error message
I am trying to launch chrome with an URL, the browser launches and it does nothing after that.

I am seeing the below error after 1 minute: 

Unable to open browser with url: 'https://www.google.com' (Root cause: org.openqa.selenium.WebDriverException: unknown error: DevToolsActivePort file doesn't exist
  (Driver info: chromedriver=2.39.562718 (9a2698cba08cf5a471a29d30c8b3e12becabb0e9),platform=Windows NT 10.0.15063 x86_64) (WARNING: The server did not provide any stacktrace information)

My configuration:

Chrome : 66
ChromeBrowser : 2.39.56

P.S everything works fine in Firefox

Update: I am able to get through the issue and now I am able to access the chrome with desired url. Results of trying the provided solutions: I tried all the settings as provided above but I was unable to resolve the issue Explanation regarding the issue: As per my observation DevToolsActivePort file doesn't exist is caused when chrome is unable to find its reference in scoped_dirXXXXX folder. Steps taken to solve the issue I have killed all the chrome processes and chrome driver processes. Added the below code to invoke the chrome System.setProperty("webdriver.chrome.driver","pathto\\chromedriver.exe"); ChromeOptions options = new ChromeOptions(); options.setExperimentalOption("useAutomationExtension", false); WebDriver driver = new ChromeDriver(options); driver.get(url); Using the above steps I was able to resolve the issue. Thanks for your answers.

API access

Get this solution programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/error/03995e533051bdad35341a89338e2ca4b8f15ff11d2ee6ded6a2fef0f086c67b
hash \u00b7 03995e533051bdad35341a89338e2ca4b8f15ff11d2ee6ded6a2fef0f086c67b
WebDriverException: unknown error: DevToolsActivePort file d… — DepScope fix | DepScope