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.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c8468cde670f73e4cd3f60a93857bc80fd57fb2ec9650f654569fb9bc392b10 |
|
MD5 | dbbdf92ab49c192041ed30f497d0ba30 |
|
BLAKE2b-256 | 3c887b58f1291184657865537f80334f710508c85a4fd88607d57e2c8376967a |
Close
Hashes for chromedriver_autoinstaller-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf93564fd54542f2e2f3db08d3060467ee49784b0629cd3adbb767080a8f9cc1 |
|
MD5 | 55a2ff723e9480f5fa8d6a548316d641 |
|
BLAKE2b-256 | 48055f338931cdddc82da35a8782c56b9cc73d77286dd248e0ca367d95bc2013 |