Automatically install chromedriver that supports the currently installed version of chrome.
Project description
chromedriver-autoupdater
Automatically download and install chromedriver that supports the currently installed version of chrome. This installer supports Linux, MacOS and Windows operating systems.
Forked from chromedriver-autoinstaller
Installation
pip install chromedriver_autoupdater
Usage
Just type import chromedriver_autoupdater
in the module you want to use chromedriver.
Example
from selenium import webdriver
import chromedriver_autoupdater
chromedriver_autoupdater.install() # Check if the current version of chromedriver exists
# and if it doesn't exist, download it automatically,
# then add chromedriver to path
driver = webdriver.Chrome()
driver.get("http://www.python.org")
assert "Python" in driver.title
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
File details
Details for the file chromedriver-autoupdater-0.6.5.tar.gz
.
File metadata
- Download URL: chromedriver-autoupdater-0.6.5.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e966268e3d3a85e251278d385e1b7d710080a0201f5e8991303ee8eca6294fb9 |
|
MD5 | ab3ab7d7c85a7d38c367ab79599cfe3a |
|
BLAKE2b-256 | 30650ecbfb8095fd0759af338753bef185163009b5300d450dade860cb56da79 |