Skip to main content

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

Project description

chromedriver-autoupdater

Automatically download and install chromedriver that supports the currently installed version of chrome. This installer supports Linux, MacOS and Windows operating systems.

Forked from chromedriver-autoinstaller

Installation

pip install chromedriver_autoupdater

Usage

Just type import chromedriver_autoupdater in the module you want to use chromedriver.

Example

from selenium import webdriver
import chromedriver_autoupdater


chromedriver_autoupdater.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

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-autoupdater-0.6.4.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file chromedriver-autoupdater-0.6.4.tar.gz.

File metadata

File hashes

Hashes for chromedriver-autoupdater-0.6.4.tar.gz
Algorithm Hash digest
SHA256 21b6dafbcde5c826437da2a06d7917cd8f66bd2c4eda3022722735cd4d2cca1b
MD5 7e99be0cbf320ab622479e2b3407a6c2
BLAKE2b-256 c907182b1f1e2828863a01489ce841c3ee66856aff84a119c15aea0ea30b0fd7

See more details on using hashes here.

Provenance

Supported by

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