Skip to main content

Script to automatically download the right undetected chromedriver version

pip install auto-download-undetected-chromedriver

GitHub - ultrafunkamsterdam/undetected-chromedriver: Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)

Works on Windows / MacOS thanks to @sdfgsdfgd

How to use:
$pip install auto-download-undetected-chromedriver

Args:
    folder_path_for_exe (str): The path to the folder where the ChromeDriver executable will be saved.
    undetected (bool, optional): Apply the undetected patch to the downloaded ChromeDriver binary. Defaults to True.
    arm (bool, optional): If True, download the ARM architecture version of ChromeDriver for Mac. Defaults to False.
    force_update (bool, optional): Force the update of the ChromeDriver binary, even if it's already present. Defaults to True.
    dowloadurl (str, optional): URL to the JSON file containing download links for ChromeDriver versions.
        Defaults to the official repository URL (https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build-with-downloads.json).

Returns:
    str: The path to the downloaded and possibly patched ChromeDriver executable.

Note:
- The function detects the operating system and Chrome version to download the appropriate ChromeDriver version.
- If 'undetected' is True, the function patches the ChromeDriver binary with an additional console log message to make it harder to detect.
- Use the returned executable path to start ChromeDriver with the provided options.

Example:
    from auto_download_undetected_chromedriver import download_undetected_chromedriver
    folder_path = "c:\\download2thisfolder"
    chromedriver_path = download_undetected_chromedriver(folder_path, undetected=True, arm=False, force_update=True)

Metadata

Release files for auto-download-undetected-chromedriver 0.16

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

Source distribution (sdist)

Source distribution for auto-download-undetected-chromedriver 0.16
File Size Uploaded Provenance Actions
auto_download_undetected_chromedriver-0.16.tar.gz 11.8 kB Without provenance Details for auto_download_undetected_chromedriver-0.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for auto-download-undetected-chromedriver 0.16
File Interpreter ABI Platform Actions
auto_download_undetected_chromedriver-0.16-py3-none-any.whl Python 3 none any Details for auto_download_undetected_chromedriver-0.16-py3-none-any.whl

Total release size: 24.9 kB

Release files / auto_download_undetected_chromedriver-0.16.tar.gz

Download URL auto_download_undetected_chromedriver-0.16.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
75b44dc9da92bed701e7ff6f1860505156b7fb1de288d382632bd6df4cc976f1
BLAKE2b-256 checksum
How to use checksums
edbd1aee382774a627b7345936080cff606e3f933d75bbe0b62e08b40e0c6195
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / auto_download_undetected_chromedriver-0.16-py3-none-any.whl

Download URL auto_download_undetected_chromedriver-0.16-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8cbed589891846e3bf2ddef4748d80342a794e627917c56b953df321845981f6
BLAKE2b-256 checksum
How to use checksums
852bf2e5b7c8fb4ecfa179429a818f0c6c960bf7b26223f8f917953936692589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for auto-download-undetected-chromedriver 0.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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