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.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9ee28eb23765ae637e40f5027c7989a6cc8ef33d4302000bf49d8990791acc9 |
|
MD5 | 6ce6598da1c68c3a1838a30ef3974f72 |
|
BLAKE2b-256 | f80beca6b3bad5f9fa381aedaac017b6a9fe66f592688c6a5e93d78ce31b47c0 |
Close
Hashes for chromedriver_autoinstaller-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e5aedd12c66ac66119cb692185806b8f718e0602f68db311c1ed6e8630fa1e5 |
|
MD5 | d1bee4f9fc104b0281dd61ad201aefca |
|
BLAKE2b-256 | 7a86c20ce3d0dcb37c4ceed11608038d1ca8bf3ec8d019cc3ea22fc05e1b7043 |