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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57f15f40d2e356c4cb84870cb7f882283a8280118bedacbf19301dd692f672b5 |
|
MD5 | 5ed1f3c84a389c853f0ecac90483964f |
|
BLAKE2b-256 | 8be9444d59de9e1c5b3394e4faa93452dcc570279f4f4147f6c7b56613bac404 |
Close
Hashes for chromedriver_autoinstaller-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1534d39903d22379ff13435d695703ae9b14ddb336d43556fd7735854ada6d2b |
|
MD5 | 4bfd80a5cd1f5450d928bd995771eb36 |
|
BLAKE2b-256 | 6ac76cfe8de0952d1e40fa53ca874a785b7f929afa33e0e832de481b9e582161 |