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.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99dffc48fbb0168c84997dd7a8d9a7c35983791d94cf4782eb326d314fd1f85c |
|
MD5 | 2e014f35a29c64c668622eb87e5728db |
|
BLAKE2b-256 | 560de24a6d6e680dacaf2cfac9d58afabbabca36c3a63d411306fbf4306502dc |
Close
Hashes for chromedriver_autoinstaller-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f7af4972355b8f4755b526c3df8697a43f6a91048c96eed4d8776799868e12f |
|
MD5 | 0113008998e8f447e5e6d285c0821513 |
|
BLAKE2b-256 | fecb2ce43d6503855c5ef6766837de32a6977aa08b8456d06083f9c2f5767e69 |