chromedriver-autoinstaller 0.6.4


pip install chromedriver-autoinstaller

  Latest version

Released: Jan 28, 2024

Project Links

Meta
Author: Yeongbin Jo
Requires Python: >=3.6

Classifiers

Development Status
  • 5 - Production/Stable

Topic
  • Software Development :: Testing
  • System :: Installation/Setup
  • Software Development :: Libraries :: Python Modules

License
  • OSI Approved :: MIT License

Programming Language
  • Python :: 3
  • Python :: 3.6
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11

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

Authors & Contributors

Extras: None
Dependencies:
packaging (>=23.1)