Skip to main content

Undetected

A Selenium Chrome drop-in that hardens automation against common bot checks.

It patches the chromedriver binary (CDC / test-type=webdriver) and injects page-level scripts on every uc.Chrome() session (CDP leak cleanup, navigator.webdriver, chrome runtime, iframes, WebGL, and more).

Note: Fork of undetected-chromedriver. Results vary - these patches help, but they are not a guarantee against every detector.

Installation

pip install git+https://github.com/lovebrownie/undetected.git

Simple Usage

import undetected as uc

driver = uc.Chrome()
driver.get("https://bot.sannysoft.com/")
driver.quit()
import undetected as uc

options = uc.ChromeOptions()
options.languages = ["fr-FR", "fr"]

driver = uc.Chrome(options=options)
driver.get("https://bot.sannysoft.com/")
driver.quit()

Multi-Threading

import undetected as uc
import threading

def worker(idx: int):
    driver = uc.Chrome(user_multi_procs=True)
    driver.get("https://www.google.com/")
    driver.quit()

if __name__ == "__main__":
    threads = [threading.Thread(target=worker, args=(i,)) for i in range(4)]
    for t in threads:
        t.start()
    for t in threads:
        t.join()

Metadata

Release files for undetected 1.0.1

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

Source distribution (sdist)

Source distribution for undetected 1.0.1
File Size Uploaded Provenance Actions
undetected-1.0.1.tar.gz 101.0 kB Without provenance Details for undetected-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for undetected 1.0.1
File Interpreter ABI Platform Actions
undetected-1.0.1-py3-none-any.whl Python 3 none any Details for undetected-1.0.1-py3-none-any.whl

Total release size: 183.3 kB

Release files / undetected-1.0.1.tar.gz

Download URL undetected-1.0.1.tar.gz
Size 101.0 kB
Tags Source
SHA-256 checksum
How to use checksums
217f26422ea5ebe30b7c0fb8d2d7f8927b15f23c7d9d01b6a8c88de8ccd037a5
BLAKE2b-256 checksum
How to use checksums
e5a63a33c797537237180d199b74c9b2fe52ff494a855a29f1d6360ad81971af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / undetected-1.0.1-py3-none-any.whl

Download URL undetected-1.0.1-py3-none-any.whl
Size 82.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d1e06ec81fb207525790b9095ac160a134012ee1c7f882b204fccb1c2d5d8b8
BLAKE2b-256 checksum
How to use checksums
f8abe4eaa391ed6d3f4a078d0087c092685012336757bb6e520fb888ac25224d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for undetected 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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