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
Authors & Contributors
- CHIDA <iam.yeongbin.jo@gmail.com>
- shawnCaza <theshawn@gmail.com>
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
File details
Details for the file chromedriver-autoinstaller-0.6.4.tar.gz
.
File metadata
- Download URL: chromedriver-autoinstaller-0.6.4.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b4df04b87e6107c730085b98e5fd541db3d1777c32b8bd08e2ca4b1244050af |
|
MD5 | dc48646d2ffd3a3a73df6b9fa10cf85a |
|
BLAKE2b-256 | d05a9fc60c65673444d592b8922316c3abcd6177b42208c5a6179f96ccf0e11b |
File details
Details for the file chromedriver_autoinstaller-0.6.4-py3-none-any.whl
.
File metadata
- Download URL: chromedriver_autoinstaller-0.6.4-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b12ed187ca9fac4d744deb588d221222ed50836384607e5303e6eab98bb9dc64 |
|
MD5 | a74f9cfdd7fb9416e663bec0d2d79b00 |
|
BLAKE2b-256 | a5b536f0b0add145c371b5282e881a687601899f2d27fae5d0595bc02026b67c |