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

chromedriver-autoinstaller-0.6.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chromedriver_autoinstaller-0.6.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for chromedriver-autoinstaller-0.6.2.tar.gz
Algorithm Hash digest
SHA256 8ff5c715160b294c9e7cc0fae5ecc5ccaff5563ca1405daed6b959cca606e57c
MD5 e3e1b90d72a89e238da10eef920dcad1
BLAKE2b-256 ee0bdac4c8f5b124be16a81ea8602bbba4e000c3b525dd0c0d1616f34d539796

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromedriver_autoinstaller-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7055e3e5a64e4352855fafab15d266e2ed325620222224fb261a2131e821dfe3
MD5 9424d55f8852ab966fd5da2c5351880f
BLAKE2b-256 b717824a202a4fdb6edda587f25878552beb0da6de70197d5f0b77b8d3781e91

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