2
3

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 3 years have passed since last update.

chrome driver binaryをchromeと自動バージョン同期する

Posted at

#目的
chromedriver-binaryのバージョンを自端末のchromeと自動同期とる

#手順
参考サイト
https://github.com/yeongbin-jo/python-chromedriver-autoinstaller

macならターミナルにて
pip install chromedriver-autoinstaller

Windowsならコマンドプロンプトにて
py -m pip install chromedriver-autoinstaller

インストールが終わったら、自分のPythonプログラムコードに
from selenium import webdriver などのimport句らへんに↓の2行を追加

chromedriver_autoinstaller.install()```

以上。
あとは普通にそのままコードを書き連ねて実行するのみ。
2
3
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
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?