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.6.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63d320dce98e16bf5ca575c127954cdc97bf9d7bf38f25799b24e607125bb906 |
|
MD5 | b477a5cb9c155af47f5fb9fc79da512a |
|
BLAKE2b-256 | c7f23e9669fb62e9fdeb96bc999cb363d37839a883777bfe4a4e3fa64237cc22 |
Close
Hashes for chromedriver_autoinstaller-0.6.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d6f1434c17d7c554804395e36d0eb7e1c9e78dde0e4dd828267a186da02a945 |
|
MD5 | 0d5177bf3e5dd71156164859b7acc031 |
|
BLAKE2b-256 | 6caec9946f89b42a752b38fa33fe82676e8e8fe722f3287d9909f3bd0e11e537 |