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

Uploaded Python 3

File details

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

File metadata

  • Download URL: chromedriver-autoinstaller-0.1.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for chromedriver-autoinstaller-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c9ee28eb23765ae637e40f5027c7989a6cc8ef33d4302000bf49d8990791acc9
MD5 6ce6598da1c68c3a1838a30ef3974f72
BLAKE2b-256 f80beca6b3bad5f9fa381aedaac017b6a9fe66f592688c6a5e93d78ce31b47c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chromedriver_autoinstaller-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for chromedriver_autoinstaller-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e5aedd12c66ac66119cb692185806b8f718e0602f68db311c1ed6e8630fa1e5
MD5 d1bee4f9fc104b0281dd61ad201aefca
BLAKE2b-256 7a86c20ce3d0dcb37c4ceed11608038d1ca8bf3ec8d019cc3ea22fc05e1b7043

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