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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a66bc0ef2a9a2d2073e5e39f4b326da62522eb7b6381914a543ee3b3995e67d9 |
|
MD5 | 400012163438e352b530f4e64f77eb7b |
|
BLAKE2b-256 | dd35b4e82572218f16ab0322c3ffde81de566f1836dafc10e3b09ca6c739ac28 |
Close
Hashes for chromedriver_autoinstaller-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af72d64f1519e69db85b7da46b0f2b32cf68e588bee10f682cc464e97207bfd1 |
|
MD5 | 75ccb5f268dcd90f50b41a7d5ccf8b09 |
|
BLAKE2b-256 | 605371bb24355cdd8660d1f11a0e717e98d180cb2e856603eeaa246eb02027b7 |