A tool for managing ChromeDriver downloads and updates
Project description
webdriver_auto_update
A tool for managing ChromeDriver downloads and updates
Features
- Automatically downloads the latest stable version of ChromeDriver.
- Compares the local ChromeDriver version with the latest online version.
- Updates ChromeDriver to the latest version if necessary.
- Works on Windows, Linux, and macOS.
Getting Started
Pre-requisites:
- Python 3
- Download Google Chrome
- pip install selenium
- Additional required packages listed in
requirements.txt
.
Installation (Option 1)
-
Clone this repository from GitHub
-
Install the required package:
pip install webdriver-auto-update
Usage
-
Navigate to the directory where you've cloned or downloaded the repository
-
Run the following example
from webdriver_auto_update import WebdriverAutoUpdate # Set the driver directory driver_directory = '/path/to/driver/directory' # Create an instance of WebdriverAutoUpdate driver_manager = WebdriverAutoUpdate(driver_directory) # Call the main method to manage ChromeDriver driver_manager.main()
Note
- 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.
Contributing
Contributions are welcome! If you find any issues or want to add new features, feel free to submit a pull request or reach out to me.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file webdriver_auto_update-1.0.0.tar.gz
.
File metadata
- Download URL: webdriver_auto_update-1.0.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb169bc5dd7e12bf11f88f4280707a7089e88562c701c039cdcf3c11c8ffb0f6 |
|
MD5 | 28d388447623b2d851b83d1cb0df22a7 |
|
BLAKE2b-256 | 9c61e91ecfea250d9ec4004ace4eb5133e167012fa23c91ad572aea64e586fba |
File details
Details for the file webdriver_auto_update-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: webdriver_auto_update-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b20c8243173cc4a0aa4d5baa6d79d0775e1622b76b74f0b3a6d43f057b6967fa |
|
MD5 | 82cca8903ca8861cf618ff7c0e8493f6 |
|
BLAKE2b-256 | 53f51664acbb407cb32e68d9b07e99ac136abced0820e3d2237fe88b2af74fa2 |