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.0.tar.gz (4.7 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.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chromedriver-autoinstaller-0.3.0.tar.gz
  • Upload date:
  • Size: 4.7 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.0.tar.gz
Algorithm Hash digest
SHA256 1f11af5789cc5d5d7cc64a297c90412b2e6fb63de4ee2244007c5e79488222fd
MD5 200e4fb9f6484fa42d869ff3180bff18
BLAKE2b-256 8f5150cec1f0690842eb84ebdd68416dad71fea59f8138c32cbc998e8b144e90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chromedriver_autoinstaller-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4461143887389af342d8147b7ea43203826a991c280cf84c39ab65d14e1ec04e
MD5 095f5ca52ac735abcde0ef80a7a3c66d
BLAKE2b-256 0862c1df0f5d74fc707dffe766976fffbe71352bd2ee332dbd23912522bd7845

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