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

Authors & Contributors

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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for chromedriver-autoinstaller-0.6.4.tar.gz
Algorithm Hash digest
SHA256 1b4df04b87e6107c730085b98e5fd541db3d1777c32b8bd08e2ca4b1244050af
MD5 dc48646d2ffd3a3a73df6b9fa10cf85a
BLAKE2b-256 d05a9fc60c65673444d592b8922316c3abcd6177b42208c5a6179f96ccf0e11b

See more details on using hashes here.

File details

Details for the file chromedriver_autoinstaller-0.6.4-py3-none-any.whl.

File metadata

File hashes

Hashes for chromedriver_autoinstaller-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b12ed187ca9fac4d744deb588d221222ed50836384607e5303e6eab98bb9dc64
MD5 a74f9cfdd7fb9416e663bec0d2d79b00
BLAKE2b-256 a5b536f0b0add145c371b5282e881a687601899f2d27fae5d0595bc02026b67c

See more details on using hashes here.

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