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.
Installation
pip install chromedriver_autoupdater
Usage
Just type import chromedriver_autoinstaller
in the module you want to use chromedriver.
Example
from selenium import webdriver
import chromedriver_autoinstaller
chromedriver_autoinstaller.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
Close
Hashes for chromedriver-autoupdater-0.6.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3050c6163602ec7a8a0f6a197c61ba081e71cd370c6fa691a851de1efdb1048 |
|
MD5 | ef4024a95f4cc51e85709eadd902452f |
|
BLAKE2b-256 | 11f5b14651bd28ebda2f88cdbf9d205dc6591cbada196a06077f2feb7b9c8858 |