A program to check existing local chromedriver version and automatically downloads the latest available version online.
- Checks local chromedriver driver version on your computer and compares it with the latest version available online.
- The latest online version/release will be downloaded if it does not match your local version.
- If no local chromedriver executable file is found in the specified folder path, it will be downloaded automatically to that particular folder.
- Download Google Chrome
- pip install selenium
- Make sure you have Python installed in your system.
- Run the following to install:
pip install webdriver-auto-update-2
# webdriver_auto_update.py
from webdriver_auto_update import check_driver
## Make sure to pass in the folder used for storing and downloading chromedriver executable
check_driver('directory/to/store/chromedriver')
- The objective of this program is to reduce redundancy of searching and downloading the updated version of chrome driver to the OpenSource community.
- Intended to be used in Selenium projects, browser testing or web automation.