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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da9d3f519049ec70c5e12e9ca87c09d2b9eaa26c48cf72214dc2f66a6117b950 |
|
MD5 | 44d7ed8e817d18984edc089c239c7d62 |
|
BLAKE2b-256 | 15f72d8da1e5795a9c435d896ed9c3f60ee00592c98a2dad01d1f2509b16f7d2 |
Close
Hashes for chromedriver_autoinstaller-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5776c35ab56eb84561e06ecfc23c3df8d232575ba623cf3b693650890bcfd73 |
|
MD5 | 4fcfd197766888ebc4d07d5830978dde |
|
BLAKE2b-256 | e5f6165a4280717228a158118fced435793f3b72153980c86365b220a4a5bed0 |