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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1046c5958436dd359911d681de17b3566de78a974844ff20998e9fb5d549ad60 |
|
MD5 | 35e0f68f9b1936b3a0df01cb3b081526 |
|
BLAKE2b-256 | 84213a3b4d17797b1d8c3e9bd92b9b026eaa19a464d884ea04a770091b08bc32 |
Close
Hashes for chromedriver_autoinstaller-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2978a0e5d31bea6e21c16d58f49e8dfd4ca1614b67c140ef5dbb29837a3cd1d |
|
MD5 | 3e255d7532d987b80bd7568c5fc2a976 |
|
BLAKE2b-256 | 6ab2a046190782eb29aa1567aa99dc9558420d10f4ef44d7249e63f31f729425 |