LoginSignup
0
0

SeleniumでChromeのバージョンがおかしくてSessionNotCreatedExceptionが出た件

Posted at

発生事象

Macのローカル環境でSeleniumを使ってChromeを操作しようとしていたところ、以下のエラーが出ました。

SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 66.0.3359.170 with binary path /Users/Toshiki/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
Stacktrace:

エラーの内容としては、ドライバーのバージョンがChromeの114にしか対応していないが、Chromeのバージョンが66.0.3359.170だといっています。
しかし、Chromeのバージョンをいくら確認しても、114でした。

結論

Chromeを再インストールしたら治りました。
再インストールの方法はこちらを参照ください。
https://estudiopersonal.com/archives/2948

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