[PYTHON] How to deal with SessionNotCreatedException when using Selenium

Error body

SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 88
Current browser version is 87.0.4280.88 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

Occurrence environment

Cause

Chrome browser version and python-chromedriver-binary version do not match

Coping

  1. Check the version from Chrome Browser> Help> About Google Chrome
  2. Reinstall the same version of python-chromedriver-binary as the browser version with the following command

re-install


conda uninstall python-chromedriver-binary
conda install -c conda-forge python-chromedriver-binary=<Chrome browser version>

Recommended Posts

How to deal with SessionNotCreatedException when using Selenium
How to not load images when using PhantomJS with Selenium
How to deal with errors when hitting pip ②
2 ways to deal with SessionNotCreatedException
How to deal with OAuth2 error when using Google APIs from Python
How to deal with imbalanced data
How to deal with imbalanced data
How to deal with DistributionNotFound errors
How to resolve CSRF Protection when using AngularJS with Django
[Linux] How to deal with garbled characters when viewing files
How to deal with UnicodeDecodeError when executing google image download
How to deal with "Type Error: No matching signature found" error when using pandas fillna
How to deal with enum compatibility errors
[Python] How to deal with module errors
How to deal with errors when installing Python and pip with choco
How to deal with the terminal getting into the pipenv environment without permission when using pipenv with vscode
How to deal with memory leaks in matplotlib.pyplot
can't pickle annoy. How to deal with Annoy objects
How to deal with run-time errors in subprocess.call
How to deal with module'tensorflow' has no attribute'〇〇'
How to deal with SSL error when connecting to S3 with boto of Python
[AWS] How to deal with WordPress "An error occurred when cropping an image."
Code etc. that beginners referred to when they stumbled when using WebDriver with Selenium
[EC2] How to deal with errors that selenium cannot execute (No module named selenium)
How to deal with Django's Template Does Not Exist
How to deal with pyenv initialization failure in fish 3.1.0
How to access with cache when reading_json in pandas
[Python] How to deal with pandas read_html read error
How to exit when using Python in Terminal (Mac)
How to analyze with Google Colaboratory using Kaggle API
How to switch to smartphone mode with Python + Selenium + Chrome
How to write faster when using numpy like deque
How to deal with Executing transaction: failed in Anaconda
How to operate Firefox with selenium on Windows Memo
When using optparse with iPython
How to cast with Theano
How to deal with the problem that Japanese characters are garbled when outputting logs using JSON log formatter
How to Alter with SQLAlchemy?
How to separate strings with','
How to RDP with Fedora31
How to Delete with SQLAlchemy?
How to manipulate the DOM in an iframe with Selenium
[AWS] How to deal with "Invalid codepoint" error in CloudSearch
A story about how to deal with the CORS problem
How to scrape at speed per second with Python Selenium
For beginners, how to deal with common errors in keras
Things to keep in mind when using Python with AtCoder
Things to keep in mind when using cgi with python.
How to update FC2 blog etc. using XMLRPC with python
How to output additional information when logging with python's logging module
How to install python using anaconda
How to cancel RT with tweepy
Python: How to use async with
How to use virtualenv with PowerShell
How to install python-pip with ubuntu20.04LTS
[EC2] How to run selenium webdriver
How to add sudo when debugging
How to get started with Scrapy
How to get started with Python
How to get started with Django
How to Data Augmentation with PyTorch