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.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

chromedriver_autoinstaller-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chromedriver-autoinstaller-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 1046c5958436dd359911d681de17b3566de78a974844ff20998e9fb5d549ad60
MD5 35e0f68f9b1936b3a0df01cb3b081526
BLAKE2b-256 84213a3b4d17797b1d8c3e9bd92b9b026eaa19a464d884ea04a770091b08bc32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chromedriver_autoinstaller-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2978a0e5d31bea6e21c16d58f49e8dfd4ca1614b67c140ef5dbb29837a3cd1d
MD5 3e255d7532d987b80bd7568c5fc2a976
BLAKE2b-256 6ab2a046190782eb29aa1567aa99dc9558420d10f4ef44d7249e63f31f729425

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page