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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b17108315c375e29f6efd4324dde4c8be7074b87baffccb583c2018c096a6f74 |
|
MD5 | 6db73cc92249f43fb1e93d85d993c83d |
|
BLAKE2b-256 | 9a00cf64825db96a05797baadfdb2bca905d02de1182c9c229688144ee4f6ead |
Close
Hashes for chromedriver_autoinstaller-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5ba6074b08aac8d669d4761fcab11408189ee64074e1f1c94b70dca5c29a988 |
|
MD5 | 7721df8a4093bc0d4bde746722c061e9 |
|
BLAKE2b-256 | c3a160095dd2947c9ec6f418f4dd01a3ef2665d2bb010afe4422901b166e6e08 |