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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa9ae066e1dfdae0b4adcafba8fa5641ee29f28d7ac6907a186faebbee21970f |
|
MD5 | f8e20d40d156b1cdeb7fa5d58d1b3481 |
|
BLAKE2b-256 | 1c8d4bb8edc994f69676354d2e1db26a31e2d8e4e1c3262fdbf79b3609ef7cc0 |
Close
Hashes for chromedriver_autoinstaller-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2cdc31ac4a8ababb9923905921cdd47cdffe8ea422dcedd67f518b2622245bc |
|
MD5 | 1954173a8716e8693c8f1fd203a35bb6 |
|
BLAKE2b-256 | 36cbf22e66d653825a860c6747768772d1353c1de2aa24d7feead93acd492c60 |