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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6aadc277f2c3a1d247541eecb60bfdeabb3250c56ad9998595420840d1c7f71 |
|
MD5 | 17c5a782ac2215e09e4540e3f534b25e |
|
BLAKE2b-256 | 194a9044335ad9307c6db13e5ab141ba8f3dbab9a969dbd9f5c0f465828acee9 |
Close
Hashes for chromedriver_autoinstaller-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 290a72a1e60e5d806ac0d7cc14bd6aa0746bf8e007899efca48b25eb239ea851 |
|
MD5 | fcf1b2a9f01e1087fbcfa5793047753d |
|
BLAKE2b-256 | 8a4f596b296edeb72fdf63c00c501f29e9ee6e7b0254faf49588c5ca6d3b190d |