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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca6773e81b660568f29ae5108337ec211dd95dde6eeeef7266090c131ac1e13c |
|
MD5 | c4cd501f12926e6ecaa290fbb82c05c2 |
|
BLAKE2b-256 | 267ba1b45f4a0256597a87cdead8bd8743164bbc662640fad4ae8728ec69e5df |
Close
Hashes for chromedriver_autoinstaller-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eff66708ea742a35f32579cfc6cbf7a65b16678044eab197466bbaf319b9c9e3 |
|
MD5 | 1b7b40f503ac67f13bc70d6bff7c4495 |
|
BLAKE2b-256 | b9dd350cee2510f9538eac7c7b21e83007b84523246f7dde5f3b4af5dc4e5668 |