Download or update your Selenium driver binaries and their browsers automatically with this package
Project description
selenium_driver_updater
It is a fast and convenience package that can automatically download or update Selenium webdriver binaries and their browsers for different OS.
Installation
Use the package manager pip to install selenium_driver_updater.
pip install selenium-driver-updater
Usage
This example shows how you can use this library to download chromedriver binary.
from selenium_driver_updater import DriverUpdater
import os
base_dir = os.path.dirname(os.path.abspath(__file__))
result, message, filename = DriverUpdater.install(path=base_dir, driver_name=DriverUpdater.chromedriver, upgrade=True, check_driver_is_up_to_date=True)
print(filename)
Supported Selenium Binaries
Chromedriver (DriverUpdater.chromedriver)
- Windows
- Linux
- MacOS
- MacOS with M1
Geckodriver (DriverUpdater.geckodriver)
- Windows
- Linux
- MacOS
- MacOS with M1
Operadriver (DriverUpdater.operadriver)
- Windows
- Linux
- MacOS
Edgedriver (DriverUpdater.edgedriver)
- Windows
- Linux
- MacOS
- ARM
Supported browsers for updates
Chrome Browser
- Windows
Opera Browser
- Windows
Edge Browser
- Windows
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
Close
Hashes for selenium_driver_updater-2.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e85c2678103d3cf2a91703efa84102eeb0c8d5fea8b31c9e80dcd1267bc4c9c |
|
MD5 | 29b01a60dac0eec95638fe3e30f27cc5 |
|
BLAKE2b-256 | 467341803dad347b186ed1897167c723974e2f27a89ee49930c295bd6827866b |