0
0

More than 3 years have passed since last update.

Selenium利用におけるSessionNotCreatedExceptionの対処方法

Posted at

エラー本文

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

発生環境

  • Windows10
  • Anaconda (Selenium等のパッケージをcondaからインストール)
  • Jupyter notebook

原因

Chromeブラウザのバージョンとpython-chromedriver-binaryのバージョンが不一致

対処

  1. Chromeブラウザ > ヘルプ > Google Chromeについて からバージョン確認
  2. 以下のコマンドでブラウザバージョンと同一バージョンのpython-chromedriver-binaryを再インストール
再インストール
conda uninstall python-chromedriver-binary
conda install -c conda-forge python-chromedriver-binary=<Chromeブラウザのバージョン>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0