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.0.8.tar.gz (4.1 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.0.8-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chromedriver-autoinstaller-0.0.8.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for chromedriver-autoinstaller-0.0.8.tar.gz
Algorithm Hash digest
SHA256 82cc4e1a1d99cf7897a0245863a808ae0e9429b7a28e481279b6326e50292baa
MD5 429de0e1b410ee573b56f6239638f325
BLAKE2b-256 9ffbd61df9a02cba521145815a833cd234d3586817eb50943e72a9b10805f7d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chromedriver_autoinstaller-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for chromedriver_autoinstaller-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3fc7894c2470256e4b5489f2be6a7b9bc40f96d5f58d62b5ae6cce7ce58cc9e8
MD5 98ea1618f24532374a22f253becfb2fa
BLAKE2b-256 d10b9386c7d5a2dbbc20ed3f621f27ef836e69aaf6193cd832ead7088be0f5db

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