LoginSignup
3
2

More than 3 years have passed since last update.

pythonのchromedriverのver.相違の問題の解決

Posted at

PythonからSeleniumを使おうとしたら、ChromeDriverのVersion(以下ver)が合わないとエラーがでて、泣く泣くchromedriverを手動インストール、なんてあるかと思います。

ここ数日からchromedriver-binary-autopypi@chromedriver-binaryから提供がされ始めました。

便利な事に下記2つとchromedriverをインストールするだけで、導出済みchromedriverに合わせたversionをPython上で使用してくれるものです。多少のver違い気にされない方が多いと思うので導入必須でしょうね、便利です。
- Python側で下記Wrapperを導入
- chromedriver-binary
- chromedriver-binary-auto
- OS側ではChromeDriverをインストする事
- MacOS: homebrewで。
- Windows: Chocoletelyが良い

以上。

3
2
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
3
2