[PYTHON] About chrome driver version error "Message: session not created: This version of ChromeDriver only supports Chrome version 81"

environment: mac OS Catalina Version 10.15.4

I run the chrome driver every day, From one day, the following error message suddenly appeared and the phenomenon that it did not work occurred.

Message: session not created: This version of ChromeDriver only supports Chrome version 81

As a cause, The chrome driver was recently updated and was automatically updated to version.83.

As a countermeasure By downgrading the chrome version, I re-installed the application version.81 It was automatically updated and the result was the same thing repeated.

So I decided to change the chromedriver side. However, since it was not straightforward, I will write it as a memorandum.

Enter the following in the command to install I confirmed that it was updated to version.83, but it did not improve.

 pip3 install --upgrade pip chromedriver-binary

Even if I install it from the official website of chromedriver, it does not improve. https://chromedriver.chromium.org/

As a result, I remembered that I installed it using homebrew, Do the following

brew tap homebrew/cask
brew cask install chromedriver

Then, with a message "I'm installing it !!" is displayed, so

brew cask reinstall chromedriver

I performed a reinstall.

And If you try to use selenium, "The" chrome driver "cannot be opened because the developer cannot be verified." Was displayed, so https://qiita.com/apukasukabian/items/77832dd42e85ab7aa568 I referred to this and solved it safely.

After that, it worked safely.

Recommended Posts

About chrome driver version error "Message: session not created: This version of ChromeDriver only supports Chrome version 81"
session not created: This version of ChromeDriver only supports Chrome version 76
Automatic version sync of chrome driver binary with chrome
Chrome cannot be opened with selenium because the version of Chrome driver does not match
When "Message: session not created" occurs in Python + Selenium