Automatically synchronize the version of chromedriver-binary with the chrome of your device
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