Automatically install chromedriver that supports the currently installed version of chrome.
Project description
chromedriver-autoinstaller-fix
The library chromedriver-autoinstaller-fix addresses and resolves certain issues present in the original python-chromedriver-autoinstaller.
Installation
pip install chromedriver-autoinstaller-fix
Usage
Just type import chromedriver_autoinstaller_fix in the module you want to use chromedriver.
Example
from selenium import webdriver
import chromedriver_autoinstaller_fix
chromedriver_autoinstaller_fix.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
Would appreciate a Star :)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file chromedriver-autoinstaller-fix-1.0.5.tar.gz.
File metadata
- Download URL: chromedriver-autoinstaller-fix-1.0.5.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7d5acc584742c04f320585f11b91e502bbf57b9f11a09de40a9f1c45902f71f
|
|
| MD5 |
de8b3f0eae23544d2aa6a19a50ce1351
|
|
| BLAKE2b-256 |
f35afa29dc469fd003ff7da6dd32085fd859708d8f718073f672781892c0276d
|