[PYTHON] Automatic version sync of chrome driver binary with chrome

Purpose

Automatically synchronize the version of chromedriver-binary with the chrome of your device

procedure

Reference site https://github.com/yeongbin-jo/python-chromedriver-autoinstaller

For mac, at the terminal pip install chromedriver-autoinstaller

For Windows, at the command prompt py -m pip install chromedriver-autoinstaller

Once installed, in your Python program code Added 2 lines of ↓ to import clauses such as from selenium import webdriver

chromedriver_autoinstaller.install()```

 that's all.
 All you have to do is write the code as it is and execute it.


Recommended Posts

Automatic version sync of chrome driver binary with chrome
Automatic operation of Chrome with Python + Selenium + pandas
Chrome cannot be opened with selenium because the version of Chrome driver does not match
How to automatically install Chrome Driver for Chrome version with Python + Selenium + Chrome
Automatic acquisition of stock price data with docker-compose
Automatic login to ServiceNow with Selenium Web Driver
About chrome driver version error "Message: session not created: This version of ChromeDriver only supports Chrome version 81"
Perform multiple version control of Go with anyenv + goenv
python chrome driver ver. Solving the problem of difference
Manage the package version number of requirements.txt with pip-tools
Version control of Node, Ruby and Python with anyenv