0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Chromedriverのバージョンが合わない事によってseleniumでchromeが開けない

Posted at

概要

seleniumでchromeを開こうとしたら、一瞬だけ画面に表示され、すぐ消えた。
ChromeDriverと、Chromeバージョンが違うとエラー出された。
なんで...

エラー文

"selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 76"
ここでどうしたらよいかわからなかった。

解決策

https://qiita.com/umaruskie/items/f2b4c11b50b34508b64f
ここで紹介されているように、自分が今使っているChromeのバージョンを確認し、そのバージョンをサポートしているChromedriverをダウンロードしないと、seleniumから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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?