Skip to main content

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

Project description

chromedriver-autoinstaller-fix

This reposiory is created To fix "WARNING:root:Can not find chromedriver for currently installed chrome version." which has not been resolved in the orignal "python-chromedriver-autoinstaller-fix".

Once, you use chromedriver-autoinstaller-fix you will not face error's if you are using versions > 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-0.6.3.tar.gz (6.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for chromedriver-autoinstaller-fix-0.6.3.tar.gz
Algorithm Hash digest
SHA256 54876d4a7b5f8bfb422020246aa8dabe7d23967c1069d57a6416cfa6d9951e8f
MD5 6a2d56255aa981fce5289772fe2b5ef3
BLAKE2b-256 49e6f209a6de6985a2bc49613c22c3e02bcd0995d4c0497bb36bdf401cdf47fd

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