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.
This repository is a fork of the fork with following changes:
- switch backend to flit allowing proper build (hatch does not work with setup-dist)
- make injections optional due to bot-detection issues
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-updated 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| undetected_updated-1.0.2.tar.gz | 55.9 kB | With provenance | Details for undetected_updated-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| undetected_updated-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for undetected_updated-1.0.2-py3-none-any.whl |
Total release size: 125.4 kB
Release files / undetected_updated-1.0.2.tar.gz
| Download URL | undetected_updated-1.0.2.tar.gz |
|---|---|
| Size | 55.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfd852ab2ecf0d22d2d4e125628377cd883946623281b1e1d5fbeb6870bd0fbc
|
|
BLAKE2b-256 checksum How to use checksums |
bd7a8013cd67b96fdd4987b544448f2e5d088e47c12aee2cfe1e5642cb7b9481
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 18, 2026.
Transparency logRelease files / undetected_updated-1.0.2-py3-none-any.whl
| Download URL | undetected_updated-1.0.2-py3-none-any.whl |
|---|---|
| Size | 69.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91ea0712b240c45f2799e56b8d3326ffa32b1f2a1c20022973d812d0f9391524
|
|
BLAKE2b-256 checksum How to use checksums |
5fa5ce814a95ca6209a3eaa2823629a567f2dad86ff4a46ee14ff5fd51c1186f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 18, 2026.
Transparency logSecurity for undetected-updated 1.0.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for undetected_updated-1.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 18, 2026.
Transparency logA 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.