Automatically install chromedriver that supports the currently installed version of chrome.
Project description
chromedriver-autoinstaller
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-autoinstaller
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
Built Distribution
Close
Hashes for chromedriver-autoinstaller-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a55f0495f7f7ff7bb7a984f4a350304b348e4799ff61c3a74cf44485f9d297 |
|
MD5 | d7a949ee678c991e2facde84051a11ba |
|
BLAKE2b-256 | 953d0760cffd1fb6e8711054084e4b147e554dfbdbeb921e4583a4e56e468dc2 |
Close
Hashes for chromedriver_autoinstaller-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ad8e7df62fba83752f64056885a753130f0b4eff6eedc27decc80c7cd4fb418 |
|
MD5 | 88283a1a79927d5bfb7212eb1a39fc25 |
|
BLAKE2b-256 | 4f7658ed7c608ff0166d6afce0d57bbd26860e43c9038d86957d4f401eab3466 |