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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82cc4e1a1d99cf7897a0245863a808ae0e9429b7a28e481279b6326e50292baa |
|
MD5 | 429de0e1b410ee573b56f6239638f325 |
|
BLAKE2b-256 | 9ffbd61df9a02cba521145815a833cd234d3586817eb50943e72a9b10805f7d0 |
Close
Hashes for chromedriver_autoinstaller-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fc7894c2470256e4b5489f2be6a7b9bc40f96d5f58d62b5ae6cce7ce58cc9e8 |
|
MD5 | 98ea1618f24532374a22f253becfb2fa |
|
BLAKE2b-256 | d10b9386c7d5a2dbbc20ed3f621f27ef836e69aaf6193cd832ead7088be0f5db |