[PYTHON] Chrome cannot be opened with selenium because the version of Chrome driver does not match

Overview

When I tried to open chrome with selenium, it appeared on the screen for a moment and disappeared immediately. I got an error when the ChromeDriver and Chrome version are different. why...

Error statement

"selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 76" I didn't know what to do here.

solution

https://qiita.com/umaruskie/items/f2b4c11b50b34508b64f As shown here, I had to check the version of Chrome I'm using and download a Chromedriver that supports that version before I could open chrome from selenium.

Solution, solution, congratulations

Recommended Posts

Chrome cannot be opened with selenium because the version of Chrome driver does not match
The story of using mysqlclient because PyMySQL cannot be used with Django 2.2
Automatic version sync of chrome driver binary with chrome
Check when the version does not switch with pyenv
How to automatically install Chrome Driver for Chrome version with Python + Selenium + Chrome
When Selenium tells me that the Chrome driver version is different (Python)
About the problem that the python version of Google App Engine does not mesh
What to do if a version error occurs in the selenium Chrome driver
About chrome driver version error "Message: session not created: This version of ChromeDriver only supports Chrome version 81"
Get information equivalent to the Network tab of Chrome developer tools with Python + Selenium
Open Chrome version of LINE from the command line [Linux]
python chrome driver ver. Solving the problem of difference
Manage the package version number of requirements.txt with pip-tools
The story of debugging in the local environment because the compilation did not work with Read the Docs