Chrome driver stopped working for Chrome browser version 54 with the latest Chrome driver 2.24
Asked Answered
G

4

15

Today the latest build for chrome browser version got installed automatically which is now 54.0.2840.71 m (64-bit). I am unable to drive the browser using the latest Chrome driver 2.24 with any version of Selenium. Help me solve this issue..?

Gunn answered 25/10, 2016 at 12:43 Comment(2)
its working fine for me with chromedriver 2.24. and chrome version 54.0.2840.71 (64-bit) in Mac OS.which OS are you using?Farcy
It's working for me on Windows 10 too.Aurochs
G
4

Hi I have fixed the issue. Chrome version 54 and below are compatible with the Chrome driver 2.24 and the Chrome versions above 54 need Chrome driver 2.27.

Gunn answered 3/2, 2017 at 7:48 Comment(0)
R
2

I have the exact same problem. The only solution I know of (for now) is to revert back to the previous version of Chrome before the update... if possible. Thankfully I had one machine that had the chrome.exe version I needed as the updated VMs had blown it away.

This helped me: https://productforums.google.com/forum/#!msg/chrome/UFSYuIr1-80/DivHmlqPDAAJ

However I did not have "old_chrome.exe" in the folder. I had the old version directory but the old corresponding exe was gone. If I had not found it on an un-updated PC I would have been screwed.

Edit: I also turned off all Chrome updates so I can control them from now on: https://mcmap.net/q/149576/-how-to-disable-google-chrome-auto-update-closed

Rossman answered 25/10, 2016 at 16:59 Comment(0)
O
1

You could get the latest chromedriver (2.25) from: https://sites.google.com/a/chromium.org/chromedriver/downloads

That has fixed the problem for me.

Olivenite answered 26/10, 2016 at 10:31 Comment(0)
H
0

The whole chain needs to be aliged to version which support what they control: Selenium -> Selenium Chrome Driver -> ChromeDriver -> Chrome.

Regarding Chrome Driver:

See the other answers for traditional installation.

For Apple / MacOS with Brew, you need to:

  1. Open chrome, go to Chrome -> About Chrome -> check if there is a prompt to restart chrome to start using the new version.
  2. Upgrade ChromeDriver through brew:

    brew cask upgrade chromedriver
    

The version of chromedriver is nowadays aligned with Chrome, so Chrome 80 comes with ChromeDriver 80. It seems to appear in Brew very soon after Chrome.

Regarding Selenium ChromeDriver: Don't forget to upgrade to the latest version of selenium-chrome-driver (along with the rest of Selenium deps) which knows how to operate the latest ChromeDriver.

Harrumph answered 7/2, 2020 at 17:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.