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.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bafc2c1730fc044d078a9e2e31c59c8015077c7e4de3903f7f14693af03bfbe |
|
MD5 | b58ebec1aab95d868c6af2dfa1b0ffa9 |
|
BLAKE2b-256 | 351a53b9da9a3ed881d41ac9b483581a1c5bac001708d20f06b5ff6980f22fab |
Close
Hashes for chromedriver_autoinstaller-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d934fed5a8c27352e279c8c398ecbc570f5aebb4a877add05dc4703ce91bc8 |
|
MD5 | b8957b1b75a569c8b3bb975d3a3cb989 |
|
BLAKE2b-256 | 4d57fe0539a64a03499f9b8d1671e5a79019099fa08442559a99e6def7990808 |