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.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd1cf04e7ff1cffbcfcde18ec8bebbffcc837d560b34df102fcdf9410cc198ea |
|
MD5 | 8f5401ed1878be1f12daf3011cfa2efa |
|
BLAKE2b-256 | 3b1556505e0dfc0ba5dea781323220b0ad93033f6a96dc768ec1765b16031733 |
Close
Hashes for chromedriver_autoinstaller-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f6295746230aa943ad148470556c60b8de32029464546f7c6ac75d75929205b |
|
MD5 | 64a8b5026beac55bd6478538d7ea805e |
|
BLAKE2b-256 | c53a9394d5b4c1f07dbdac9f7176682829aacd5f6d16cc71702157fc2acd5913 |