Chrome failed to close cleanly | Selenium Forum
D
Deepak Jadon Posted on 27/01/2020

I can able to instantiate the chrome browser using web driver but it is closing unexpectedly. Getting this error -

 

org.openqa.selenium.os.UnixProcess$SeleniumWatchDog destroyHarder
INFO: Command failed to close cleanly. Destroying forcefully (v2). org.openqa.selenium.os.UnixProcess$SeleniumWatchDog@15a04efb

 

Please help


A
Ashish Thakur Replied on 28/01/2020

Please update both the browser and the driver.


D
Deepak Jadon Replied on 28/01/2020

 I have updated to chrome browser v78 andweb-driver to v3.14 , now getting this following error -

 

Starting ChromeDriver 78.0.3904.105 (60e2d8774a8151efa6a00b1f358371b1e0e07ee2-refs/branch-heads/3904@{#877}) on port 48946
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
[1580211434.377][WARNING]: This version of ChromeDriver has not been tested with Chrome version 79.
[1580211436.395][WARNING]: Timed out connecting to Chrome, retrying...
Jan 28, 2020 5:07:19 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C


A
Ashish Thakur Replied on 29/01/2020

Please make sure that all the latest versions are user for selenium, chrome and chrome driver for smoother execution.

These are just the logs provided by the chrome driver. You can ignore these logs.