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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f11af5789cc5d5d7cc64a297c90412b2e6fb63de4ee2244007c5e79488222fd |
|
MD5 | 200e4fb9f6484fa42d869ff3180bff18 |
|
BLAKE2b-256 | 8f5150cec1f0690842eb84ebdd68416dad71fea59f8138c32cbc998e8b144e90 |
Close
Hashes for chromedriver_autoinstaller-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4461143887389af342d8147b7ea43203826a991c280cf84c39ab65d14e1ec04e |
|
MD5 | 095f5ca52ac735abcde0ef80a7a3c66d |
|
BLAKE2b-256 | 0862c1df0f5d74fc707dffe766976fffbe71352bd2ee332dbd23912522bd7845 |