Skip to main content

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

Project description

chromedriver-autoinstaller

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

Installation

pip install chromedriver-autoinstaller

Usage

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

Example

from selenium import webdriver
import chromedriver_autoinstaller


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

rmugicag_chromedriver_autoinstaller-1.0.0.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file rmugicag_chromedriver_autoinstaller-1.0.0.tar.gz.

File metadata

File hashes

Hashes for rmugicag_chromedriver_autoinstaller-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a4dbc6ef4abbdbe4a71046d0d8e17d02f6e5439ea8a3d501bb6a9ccefab75ef5
MD5 d0fb0a4b9be9832cc99d20f72cd7a45e
BLAKE2b-256 378f7484fc6f7fa706946ab1af9e429ed678a5c55258ea06c1ccd895512bb4f3

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