chromedriver_autoinstall
Automatically downloads the version of ChromeDriver compatible with the client's version of Chrome. Supports all versions of Chrome. 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:
- To download chromedriver in the current directory, run
install_chromedriver. - To use the autoinstaller as part of a program, write
import chromedriver_autoinstallin your file. See the example below for this use case.
Quick Example:
from selenium import webdriver
import chromedriver_autoinstall
import time
URL = "https://github.com/RoastSea8/chromedriver_autoinstall"
def main():
chromedriver_autoinstall.install()
driver = webdriver.Chrome()
driver.get(URL)
time.sleep(1000)
if __name__ == "__main__":
main()
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file chromedriver_autoinstall-1.0.tar.gz.
File metadata
- Download URL: chromedriver_autoinstall-1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb8048bfcb3363a953fcf0a80d9ac7f2bcf5595d8dcbd1d401ad92255e3ce5a1
|
|
| MD5 |
741e7371012ea210fb57e5141bde5ff6
|
|
| BLAKE2b-256 |
57549993f0da6f4407e0350d81a5830345f9f60edd036b6fdd766a482de725f3
|