Skip to main content

chromedriver_autoinstall

Automatically downloads the version of ChromeDriver compatible with the client's version of Chrome (currently supports MacOS and Windows). Can be imported as a module and used to automatically reinstall ChromeDriver in its most updated/compatible version for any program that requires it.

Install:

Python 3.6 or higher is required

pip install chromedriver_autoinstall

Usage:

Write import chromedriver_autoinstall in your file, in the directory of which chromedriver will be installed.

Quick Example:

from selenium import webdriver
import os
import chromedriver_autoinstall
import time

PATH = "./chromedriver"
URL = "https://github.com/RoastSea8/chromedriver-autoinstaller"

def main():
    chromedriver_autoinstall.install()
    # os.chmod('./chromedriver', 0o755) # MacOS only
    driver = webdriver.Chrome(PATH)
    driver.get(URL)
    time.sleep(1000)

if __name__ == "__main__":
    main()

Linux support coming soon.

Metadata

Release files for chromedriver-autoinstall 0.0.2

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

Source distribution (sdist)

Source distribution for chromedriver-autoinstall 0.0.2
File Size Uploaded
chromedriver_autoinstall-0.0.2.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chromedriver-autoinstall 0.0.2
File Interpreter ABI Platform
chromedriver_autoinstall-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / chromedriver_autoinstall-0.0.2.tar.gz

Download URL chromedriver_autoinstall-0.0.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8248f1e909b6f83d93647fd63996c8ed0fb81f93b4200d2af44bff6290ac5d15
BLAKE2b-256 checksum
How to use checksums
bc991ac7b576f23dc64460d0c4ac96dc7adfc6b19ad656e6cb16bd6f289c9be7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Release files / chromedriver_autoinstall-0.0.2-py3-none-any.whl

Download URL chromedriver_autoinstall-0.0.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
762ddf917fe1c8e2ab53f37175ff60f5a18c1ea3b12e2fd7fca501db5c1c969e
BLAKE2b-256 checksum
How to use checksums
fc68ff08d8399f3acb7edeef074cf2c5bbd0c41c3a1020e13d5d26ce15b05b98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Release history Release notifications | RSS feed

1.0

1 release file

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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