Skip to main content

Automatically install chromedriver that supports the currently installed version of chrome.

Project description

chromedriver-autoinstaller-fix

chromedriver-autoinstaller-fix was created to address the "WARNING:root:Cannot find chromedriver for the currently installed Chrome version." error, which remains unresolved in the original python-chromedriver-autoinstaller repository.

By using chromedriver-autoinstaller-fix, you shouldn't encounter installation errors if you're using Chrome versions greater than 115.

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

chromedriver-autoinstaller-fix-1.0.2.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file chromedriver-autoinstaller-fix-1.0.2.tar.gz.

File metadata

File hashes

Hashes for chromedriver-autoinstaller-fix-1.0.2.tar.gz
Algorithm Hash digest
SHA256 9fdf11a91059ee995828ad60245765f0a778ccbfe647b1cc81f45b6f367b544f
MD5 f0ad33964e5ce370692fc7bfbe2a96e1
BLAKE2b-256 8ee9fcf2ff92ae3ae2ae3a8a7ab7817b68e2224a136b5749a720eca6a1c90f0a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page