Skip to main content

Get ChromeDriver

PyPI - Python Version PyPI PyPI - License

tests

A tool to download and install ChromeDriver. Automatically download a ChromeDriver version for the current installed Chrome version. Or you can choose to download the beta version (if one is currently available), the stable version or another specific version. You can use this tool as a package import or as a command-line application.

Install

To install:

pip install get-chrome-driver

To upgrade:

pip install get-chrome-driver --upgrade

Usage

Install and use ChromeDriver with Selenium

import time
from get_chrome_driver import GetChromeDriver
from selenium import webdriver

# Install the driver:
# Downloads ChromeDriver for the installed Chrome version on the machine
# Adds the downloaded ChromeDriver to path
get_driver = GetChromeDriver()
get_driver.install()

# Use the installed ChromeDriver with Selenium
driver = webdriver.Chrome()
driver.get("https://google.com")
time.sleep(3)
driver.quit()

For downloading only

from get_chrome_driver import GetChromeDriver

get_driver = GetChromeDriver()

# Print the stable version
print(get_driver.stable_version())

# Print the stable version download link
print(get_driver.stable_version_url())

# Print the download link of a specific version
print(get_driver.version_url('84.0.4147.30'))

# Auto download ChromeDriver for the installed Chrome version
# Optional: use output_path= to specify where to download the driver
# Optional: use extract=True to extract the file
get_driver.auto_download(extract=True)

# Download the stable driver version
# Optional: use output_path= to specify where to download the driver
# Optional: use extract=True to extract the zip file
get_driver.download_stable_version(extract=True)

# Download a specific driver version
# Optional: use output_path= to specify where to download the driver
# Optional: use extract=True to extract the file
get_driver.download_version('84.0.4147.30', extract=True)

Command-line

Print the stable version url of all platforms:

get-chrome-driver --latest-urls

Print the stable version:

get-chrome-driver --stable-version

Print the stable version url:

get-chrome-driver --stable-url

Auto download ChromeDriver for the current installed Chrome version and extract the file:

get-chrome-driver --auto-download --extract

Download the stable version and extract the file:

get-chrome-driver --download-stable --extract

Download a specific version and extract the file:

get-chrome-driver --download-version 84.0.4147.30 --extract

The downloaded driver can be found at:

<current directory>/<chromedriver>/<version>/<bin>/<chromedriver>

Note: Beta version related options and functions will only work if one is currently available.

Options

--help                      Show help.

--beta-version              Print the beta version.

--stable-version            Print the stable version.

--latest-urls               Print the beta and stable version urls for all platforms.

--version-url               Print the url of a version.

--beta-url                  Print the beta version url.

--stable-url                Print the stable version url.

--auto-download             Download a ChromeDriver version for the installed Chrome Version.

--chromium                  Auto download will look for the installed Chromium version instead of Chrome.

--download-beta             Download the beta version.

--download-stable           Download the stable version.

--download-version          Download a specific version.

--extract                   Extract the compressed driver file.

--driver-filename           Print the driver filename.

--version                   App version.

Metadata

Release files for get-chrome-driver 1.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for get-chrome-driver 1.5.5
File Size Uploaded
get_chrome_driver-1.5.5.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for get-chrome-driver 1.5.5
File Interpreter ABI Platform
get_chrome_driver-1.5.5-py3-none-any.whl Python 3 none any Details

Total release size: 28.0 kB

Release files / get_chrome_driver-1.5.5.tar.gz

Download URL get_chrome_driver-1.5.5.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f5e2a73ae98c24e1dc9d571be9916dc4b446d4f630ed48b7a20b054fb58a7ea9
BLAKE2b-256 checksum
How to use checksums
63ea13ba981381b3dcf0e8d8d5187df0c4d0751405da9f941fa3eff3e3b0e96b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / get_chrome_driver-1.5.5-py3-none-any.whl

Download URL get_chrome_driver-1.5.5-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4cc8a6e0f4dad0d86fcb80b9059aed0e8186b8cade22b3ac879e5dbd6ddae31d
BLAKE2b-256 checksum
How to use checksums
c61cae2ab0a9a93ccde27d170ad92a17952150f2bcf03c7187ef319dd26abb04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

1.5.5 This release

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4

2 release files

1.3.20

1 release file

1.3.19

1 release file

1.3.18

1 release file

1.3.17

1 release file

1.3.16

1 release file

1.3.15

1 release file

1.3.14

1 release file

1.3.13

1 release file

1.3.12

1 release file

1.3.11

1 release file

1.3.10

1 release file

1.3.9

1 release file

1.3.8

1 release file

1.3.7

1 release file

1.3.6

1 release file

1.3.4

1 release file

1.3.3

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3

1 release file

1.2

1 release file

1.1.42

1 release file

1.1.41

1 release file

1.1.40

1 release file

1.1.39

1 release file

1.1.38

1 release file

1.1.37

1 release file

1.1.36

1 release file

1.1.34

1 release file

1.1.33

1 release file

1.1.32

1 release file

1.1.31

1 release file

1.1.30

1 release file

1.1.28

1 release file

1.1.27

1 release file

1.1.26

1 release file

1.1.25

1 release file

1.1.24

1 release file

1.1.23

1 release file

1.1.20

1 release file

1.1.15

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page