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.1.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.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for chromedriver-autoinstaller-0.6.1.tar.gz
Algorithm Hash digest
SHA256 cdd6f429ee047e3ee80c7b32b29cd00480fc02fd27374de525cf8f86b557b3a8
MD5 772c69475abdab3491256fd252dcdbfe
BLAKE2b-256 e5b0788a38049635dd8f24018a2a93a39164b54e0861beacbce52f186bdcf763

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromedriver_autoinstaller-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 848903d68e417ecec5b06ba2f08ed5f0d9642233a38292c7b6aff6ce5e0be2a6
MD5 2a1c264b362fae871583e686fc86782d
BLAKE2b-256 789a6b8cd7b09a6ffbc2c9608073a5f7f992afda4eeb9a8cc4b403a5987c55e6

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