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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2410fd3b57f83b9ff5b8230c28e24e96cfbb0a0ca571b70bc62b36aec44ef7be |
|
MD5 | 1e63ebf7ffcad8788ec4dc4adae74656 |
|
BLAKE2b-256 | ec46419d5a069398e328462251b641e7ad84702e2b9b1db59827c9ba787f26b5 |
Close
Hashes for chromedriver_autoinstaller-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 479ca07fd75c5f4f75298c046b6886697671bf4d70adea4c7b61ab50ea8dc6df |
|
MD5 | 97facd76e0db3af2c52ecdd46f352b15 |
|
BLAKE2b-256 | d0b7143c8918752dc60043fb5d79b37ba08d24b72b5ba4c93de888674d971315 |