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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ddaed700bc453ce8c4f5520bb87db24d8ca84e00a5fc0e050c333842a644268 |
|
MD5 | a7b8ae804ec31c9b049307241273a44b |
|
BLAKE2b-256 | a2a7747a85acf35c9e8e65d1c0c2f1ce8657bed79b3679b536d2a8bfe5f8d176 |
Close
Hashes for chromedriver_autoinstaller-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e50662030b8b4c6c906b8cfe3c4987b74462211a7f2bbb828e009a4a7dea9b |
|
MD5 | c8f62393827ba46a4f0f3cf5554ea1ea |
|
BLAKE2b-256 | ba3d37c0700747e3aeb246d3fbb66777bb05d03b073ba05c4f931c4325d93836 |