chromedriver-autoinstaller-fix
For the botasaurus project, we utilize a modified version of python-chromedriver-autoinstaller that includes a few bug fixes:
- Correction of an
urllib3error. - Improvement in Chromedriver version detection for Windows.
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 :)
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.6.tar.gz.
File metadata
- Download URL: chromedriver-autoinstaller-fix-1.0.6.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99ac85c47abab0a3c0a47c82a3b9fd1aa69092ee87c05d6fe94673cbc3c5b812
|
|
| MD5 |
7d90c60d72d7a0e6a148914e092c2b14
|
|
| BLAKE2b-256 |
48e1480fb5f88aa1c238233eeefbb546f3b1a4720180db521558dc3df96f7288
|