Auto installer for chromedriver.
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size chromedriver_autoinstaller-0.0.1-py3.7.egg (4.2 kB) | File type Egg | Python version 3.7 | Upload date | Hashes View |
Close
Hashes for chromedriver_autoinstaller-0.0.1-py3.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c61a75ae50f34c332c0a3be1228dd7496d5486bdb9640ceeabed68f45dd5679 |
|
MD5 | a9afbac25aeb6a2487555c416932fc17 |
|
BLAKE2-256 | 55688836ae957736f9b2faf634ec62cd8690042fc953c7e1d852b1c88ab41a9f |