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.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 303e22dddf5eccc15ddbf0560061b44232fc1d22c69ae0b24c52e099c03462a4 |
|
MD5 | 5db05c34a386de575eba2e16d5a27b55 |
|
BLAKE2b-256 | a078efc6f675d58bde0de04fb45c2d42b30e0459529034dfe1cc0319bfef83f0 |
Close
Hashes for chromedriver_autoinstaller-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83b3a803eb5a2e45bf7444a488b4e6852cd513604fc0e32f488e2e0c48aaabb4 |
|
MD5 | 90fe01d2f21f8da052f18cd903282917 |
|
BLAKE2b-256 | ecdcb8cad49e0485896bf3ec2d33dd6af21ef52b578e73ac9fc29708e1e76a7c |