Supported chrome driver for Chrome 70.0.3538

376 views
Skip to first unread message

kanthis...@gmail.com

unread,
Oct 30, 2018, 7:20:23 AM10/30/18
to ChromeDriver Users
Hi,

Please suggest a supported chrome driver for Chrome 70. We tried with v2.43 and also latest 70.0.3538 driver as well. But the tests fail with connection refused exception in both windows as well as linux. This exception is more frequent in 2.43 where as 10% in 70.0.3538

 [WebDriverException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:18853 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused) Build info: version: '3.4.0', revision: 'unknown', time: 'unknown' System info: host: 'ip-172-31-9-219', ip: '172.31.9.219', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-862.11.6.el7.x86_64', java.version: '1.8.0_181' Driver info: driver.version: ProvarSeleniumDriver, HttpHostConnectException: Connect to localhost:18853 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused), ConnectException: Connection refused (Connection refused)]

 [WebDriverException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:30691 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'EC2AMAZ-8DBCL7U', ip: '172.31.28.166', os.name: 'Windows Server 2016', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171'
[Run-Test-Case] Driver info: driver.version: ProvarSeleniumDriver, HttpHostConnectException: Connect to localhost:30691 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect, ConnectException: Connection refused: connect]

John Chen

unread,
Oct 30, 2018, 3:46:29 PM10/30/18
to kanthis...@gmail.com, chromedri...@googlegroups.com
Both ChromeDriver version 70.0.3538 and 2.43 are supported for using Chrome 70. I'm not sure what caused the "connection refused" errors. Here are a few questions to help narrow down the cause:
  • How are you starting and connecting to ChromeDriver?
  • Are you running with one instance of ChromeDriver, or multiple?
  • When the "connection refused" error is returned, is ChromeDriver still running, or has it stopped?
  • Has this worked with previous versions of ChromeDriver and Chrome?
Thanks,
John

--
You received this message because you are subscribed to the Google Groups "ChromeDriver Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromedriver-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

kanthis...@gmail.com

unread,
Oct 31, 2018, 8:37:14 AM10/31/18
to ChromeDriver Users
Hi John,

Thanks for your response. Please find the below answers.
  • Chrome driver is started with the below capabilities
    • Capabilities [{proxy=Proxy(direct), acceptSslCerts=true, browserName=chrome, chromeOptions=org.openqa.selenium.chrome.ChromeOptions@fe582253, version=, platform=ANY}]
    • Chrome options - [--ignore-certificate-errors, --test-type, --disable-infobars, --disable-notifications, user-data-dir=<xxx>\.chromeProfiles\profile0, --proxy-bypass-list=localhost,127.0.0.1,192.168.1.20, --silent, --load-extension=<extension path>]
  • There is only one instance of chrome driver running. Also this issue happens intermittently but very frequently. Once this issue happens, I cannot start any new instance as well until and unless I stop the execution and start again.
  • Chromedriver is still running when there is such error: https://prnt.sc/lcj1sm
  • This didnot happen in any other version of chrome and chromedriver till now
Thanks,
Sowjanya.


John Chen

unread,
Oct 31, 2018, 10:38:06 AM10/31/18
to kanthis...@gmail.com, chromedri...@googlegroups.com
Hi Sowjanya,

The screenshot at https://prnt.sc/lcj1sm indicates that ChromeDriver has crashed. Could you please create a crash dump (by right-clicking on chromedriver.exe in Task Manager and then select "Create dump file") and send it to us?

Thanks,
John

ravindr...@gmail.com

unread,
Oct 31, 2018, 12:41:53 PM10/31/18
to ChromeDriver Users
On Wednesday, 31 October 2018 14:38:06 UTC, John Chen wrote:
> Hi Sowjanya,
>
>
> The screenshot at https://prnt.sc/lcj1sm indicates that ChromeDriver has crashed. Could you please create a crash dump (by right-clicking on chromedriver.exe in Task Manager and then select "Create dump file") and send it to us?
>
>
> Thanks,
> John
>
>
> On Wed, Oct 31, 2018 at 5:37 AM <kanthis...@gmail.com> wrote:
>
>
> Hi John,
>
>
> Thanks for your response. Please find the below answers.Chrome driver is started with the below capabilitiesCapabilities [{proxy=Proxy(direct), acceptSslCerts=true, browserName=chrome, chromeOptions=org.openqa.selenium.chrome.ChromeOptions@fe582253, version=, platform=ANY}]Chrome options - [--ignore-certificate-errors, --test-type, --disable-infobars, --disable-notifications, user-data-dir=<xxx>\.chromeProfiles\profile0, --proxy-bypass-list=localhost,127.0.0.1,192.168.1.20, --silent, --load-extension=<extension path>]There is only one instance of chrome driver running. Also this issue happens intermittently but very frequently. Once this issue happens, I cannot start any new instance as well until and unless I stop the execution and start again.Chromedriver is still running when there is such error: https://prnt.sc/lcj1smThis didnot happen in any other version of chrome and chromedriver till nowThanks,
> Sowjanya.
>
>
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "ChromeDriver Users" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to chromedriver-us...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

I have the crash dump. How to send attachment in this post? not getting any option

Ravindra Yadav

unread,
Oct 31, 2018, 12:44:55 PM10/31/18
to chromedri...@googlegroups.com
Got a workaround. Sending it via email. Please see the attached crash dump.

You received this message because you are subscribed to a topic in the Google Groups "ChromeDriver Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/chromedriver-users/Y90geNHYj6c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chromedriver-us...@googlegroups.com.

John Chen

unread,
Oct 31, 2018, 3:45:43 PM10/31/18
to ravindr...@gmail.com, chromedri...@googlegroups.com
Hi Sowjanya,

Thanks for the crash dump. It looks like ChromeDriver hit an access violation and crashed, but it's not clear why. Would it be possible for you to collect verbose log from ChromeDriver and send it to us?

Thanks,
John

Ravindra Yadav

unread,
Nov 1, 2018, 7:41:11 AM11/1/18
to john...@chromium.org, chromedri...@googlegroups.com
Here is verbose logs. 
One thing to mention here is that, this issue is coming in bulk run always.

Thanks,
Ravi
ChromeVerbose.log

autora...@gmail.com

unread,
Nov 6, 2018, 4:24:37 AM11/6/18
to ChromeDriver Users
Any update on this?

John Chen

unread,
Nov 7, 2018, 12:11:07 PM11/7/18
to autora...@gmail.com, chromedri...@googlegroups.com
Sorry, haven't got the chance to do more investigation yet. Will look at it soon.

On Tue, Nov 6, 2018 at 1:24 AM <autora...@gmail.com> wrote:
Any update on this?

paul....@provartesting.com

unread,
Nov 7, 2018, 5:36:48 PM11/7/18
to ChromeDriver Users
Hi John

I've recreated a similar problem to that reported by Sowjanya and Ravi. It isn't crashing, but chromedriver seems to be hanging while navigating.

Here is the chromedriver log with --verbose: https://www.dropbox.com/s/3klz52rtijzcezz/chromedriver.log?dl=0. Please let me know how to send it to you if you can't access dropbox.

The last entry in the log seems to be sending a Runtime.enable message with no sessionId. And never getting a response:

[1541626970.742][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=7) 1E94D396D69AEEC4A102311001D4D64C {

}
[1541626970.742][DEBUG]: DevTools WebSocket Command: Target.sendMessageToTarget (id=133) 0186C658E94D49107B6C16670FE71A31 {
"message": "{\"id\":7,\"method\":\"Runtime.enable\",\"params\":{}}",
"sessionId": "1E94D396D69AEEC4A102311001D4D64C"
}
[1541626970.743][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=7) {

}
[1541626970.743][DEBUG]: DevTools WebSocket Command: Target.sendMessageToTarget (id=134) 0186C658E94D49107B6C16670FE71A31 {
"message": "{\"id\":7,\"method\":\"Runtime.enable\",\"params\":{}}",
"sessionId": ""
}

Don't know if this helps.

Regards
Paul

musaf...@gmail.com

unread,
Nov 7, 2018, 11:13:03 PM11/7/18
to ChromeDriver Users
Hello All,

I have been expereincing this same issue of chromedriver gets hang on chrome version 70.0.3538.77
chromedriver version used is : 2.37.544315 (not the latest)

For me , it was also due to some kind behaviour happening at the web application end (because I manually verified it )
I observed that when there is an action happens, like 'click on a buttton', the page navigation in the browser is not really a smooth one. The page navigation happens just fine, but the browser is not really giving a hint to the user that it is loading the page, like showing a loading spinning gear in the browser tab which used to appear earlier.

so when the same action is automated with chromedriver and chrome, some where chromedriver also is not getting clue/hint that the page navigation has started or dome. and it just waits and looks as hang for us, finally giving all ConnectException: Connection refused errors.
and same thing is what shown in the chromedriver logs as well,it just stays there

[1541407139.835][INFO]: Waiting for pending navigations...
[1541407139.835][INFO]: Done waiting for pending navigations. Status: ok
[1541407139.917][INFO]: Waiting for pending navigations...


So you may also check this, if this is the case in your end or not ?

Hi John Chen,
Also I would like to ask, how does the chromedriver determines that page navigation has happened and it is done waiting for page navigation , can you please share the logic, so i can also try the same manully at my application end and try to gather some more info for debugging this issue


Thanks & Warm Regards
Musaffir


paul....@provartesting.com

unread,
Nov 8, 2018, 12:27:14 PM11/8/18
to ChromeDriver Users
We think we have found a workaround for this: removing the useAutomationExtension option. Not crashing on hanging after removing this line:

chromeOptions.setExperimentalOption("useAutomationExtension", false);

Initial indications look promising, so giving it a soak test. Do you have this option set, Musaffir?

Regards
Paul

musaf...@gmail.com

unread,
Nov 8, 2018, 11:15:51 PM11/8/18
to ChromeDriver Users

Hi Paul,

I dont have this set
I can set it and run tests
will come back here with the result
Please let us know how your testing going with this as well

Warm Regards
Musaffir

paul....@provartesting.com

unread,
Nov 10, 2018, 5:11:12 AM11/10/18
to ChromeDriver Users
Our soak test failed with the "useAutomationExtension=false" option removed. So we're back to square 1, I'm afraid :( .

Failed doing the Navigate as before:

[1541778388.205][INFO]: [e4f3f4ad201ebdfe14cfcbcc97455959] COMMAND Navigate {
"url": "https://eu7.salesforce.com/0030J00002D8ovjQAB"
}
[1541778388.205][INFO]: Waiting for pending navigations...
[1541778388.205][INFO]: Done waiting for pending navigations. Status: ok
[1541778388.802][INFO]: Waiting for pending navigations...

John, please take a look at the verbose log I posted when you have a chance (https://www.dropbox.com/s/3klz52rtijzcezz/chromedriver.log?dl=0) and let me know if you have any suggestions.

Regards
Paul

musaf...@gmail.com

unread,
Nov 11, 2018, 10:36:46 PM11/11/18
to ChromeDriver Users
Hi Paul,

It looks same at my end too

Setting "useAutomationExtension=false" option removed, did not help

Thanks

paul....@provartesting.com

unread,
Nov 15, 2018, 6:16:43 AM11/15/18
to ChromeDriver Users
Dear all

We have worked out what's causing the crash ... chromedriver is trying to use a DevToolsClient that has been disposed.

I suspect it is because a "Target.detachedFromTarget" message is received (causing the DevToolsClient to be closed) while a "DOM.getDocument" request is still in-flight. It is crashing while waiting to the "DOM.getDocument" response.

I've worked around this by setting the DevToolsClient to "detached" state rather than disposing. But this isn't a long-term solution. The patched driver is here: https://www.dropbox.com/s/diudrx540dvqvyh/chromedriver.exe?dl=0.

John, let's discuss the proper solution for this when you have some time.

Regards
Paul

mkri...@applause.com

unread,
May 13, 2019, 10:47:53 AM5/13/19
to ChromeDriver Users
I'm unable to run scripts on Andriod 7.0 using Appium 1.13.0 version. My Appium chrome driver version:2.46( latest driver) got installed. Please check below and guide me how to fix this issue.

[Chromedriver] Error: No Chromedriver found that can automate Chrome '70.0.3538'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.
[Chromedriver] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:78:13)
[Chromedriver] at Chromedriver.errorAndThrow [as getCompatibleChromedriver] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-chromedriver/lib/chromedriver.js:289:11)
[Chromedriver] at process._tickCallback (internal/process/next_tick.js:68:7)
[Chromedriver] Error: No Chromedriver found that can automate Chrome '70.0.3538'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.
[Chromedriver] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:78:13)
[Chromedriver] at Chromedriver.errorAndThrow [as start] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-chromedriver/lib/chromedriver.js:441:11)
[Chromedriver] at process._tickCallback (internal/process/next_tick.js:68:7)

Reply all
Reply to author
Forward
0 new messages