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.3.1.tar.gz (4.9 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.3.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chromedriver-autoinstaller-0.3.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

File hashes

Hashes for chromedriver-autoinstaller-0.3.1.tar.gz
Algorithm Hash digest
SHA256 7bafc2c1730fc044d078a9e2e31c59c8015077c7e4de3903f7f14693af03bfbe
MD5 b58ebec1aab95d868c6af2dfa1b0ffa9
BLAKE2b-256 351a53b9da9a3ed881d41ac9b483581a1c5bac001708d20f06b5ff6980f22fab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chromedriver_autoinstaller-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

File hashes

Hashes for chromedriver_autoinstaller-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2d934fed5a8c27352e279c8c398ecbc570f5aebb4a877add05dc4703ce91bc8
MD5 b8957b1b75a569c8b3bb975d3a3cb989
BLAKE2b-256 4d57fe0539a64a03499f9b8d1671e5a79019099fa08442559a99e6def7990808

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