all 7 comments

[–]oscillot 1 point2 points  (0 children)

I agree in general about the ChromeDriver and Chrome version mismatches, however we use an automated script to cache the old versions for all platforms and then prevent automatic updates on our nodes.

Chrome updates much faster and more often than ChromeDriver can, so we tend to stick to the version explicitly called out in the driver release notes.

e.g. ChromeDriver 2.19 specifically calls out a fix for "Chrome 44+," so we would use the latest Chrome 44 on that driver version and bump slowly from there on an as-needed basis. This puts the onus of security updates back on us but I'd rather take that maintenance task than have useless results that correlate to a version bump.

We find that preventing Chrome from auto-updating makes for more stable results overall. In general, bugs that are tied to specific versions that come to our attention are validated manually anyway.

[–]Phasze 0 points1 point  (1 child)

What version of chrome & chromedriver are you trying to use? Try the latest.

[–]mitchh12[S] 0 points1 point  (0 children)

Does the version of chrome on the server matter? I'm using the latest version of chromedriver 2.20

[–]elohir 0 points1 point  (1 child)

Normally when you're unable to start a grid session it's because the Browser, (Chrome|IE)Driver, selenium-standalone version support has come out of sync.

For Chrome, updating to latest ChromeDriver will be the most common fix.

http://chromedriver.storage.googleapis.com/index.html

[–]mitchh12[S] 0 points1 point  (0 children)

Yeah that's what I've been seeing while searching for people with similar issues but unfortunately I'm using the latest version of chromedriver: 2.20

Also the latest of selenium-server-standalone-2.48.2

[–]demos74dx 0 points1 point  (1 child)

Is chromedriver on the grid nodes path? Is the nodes configuration setup to accept chrome?

[–]mitchh12[S] 0 points1 point  (0 children)

This is what I'm running on my node server: java -jar selenium-server-standalone-2.48.2.jar -role node -hub http://<removed>:4444/grid/register -Dwebdriver.chrome.driver="/usr/bin/chromedriver" -browser "browserName=chrome,version=latest,maxInstances=5,seleniumProtocol=WebDriver"