Skip to content

Bypassing CreepJS and spoofing browser fingerprints: what the tests show

CreepJS is useful as a benchmark, not as a verdict on every anti-bot system. This guide explains how it builds a fingerprint, then compares Playwright, Selenium, Puppeteer, Nodriver, virtual-display headful runs and Camoufox against its headless and stealth checks so you can choose a setup with eyes open about the trade-offs.

How CreepJS builds a fingerprint

CreepJS was built to expose weaknesses in tools people use to avoid fingerprinting. It collects a wide set of browser and operating-system signals through JavaScript, hashes them into fixed-length strings for storage and comparison, and assembles those hashes into a fingerprint. It also looks for signs of JavaScript tampering and for inconsistencies between the reported user agent and the feature set that user agent should have. The result page groups the findings so automation and privacy-related traits can be inspected side by side.

Why use CreepJS as a benchmark

CreepJS was not designed as a fingerprinting product, but its checks can reveal how a browser setup looks to fingerprint-based anti-bot measures. That makes it a practical benchmark even on sites that use different detection methods. The comparison here uses one target: 0% on both the headless and stealth measures in the headless section. Tests were run headless unless stated otherwise, because headless operation is what lets a scraper run unattended on a server without a monitor.

Playwright and Patchright

Playwright controls Chromium, WebKit and Firefox through one API and is available in several languages. For the Python and Chromium test, Patchright was used as a drop-in replacement that adjusts the default launch configuration. Regular Playwright scored 100% headless with 0% stealth. Patchright lowered the headless score to 67% while stealth stayed at 0%. That is a meaningful improvement, but it is not a clean pass, so it suits only sites whose checks are not strict.

Selenium and undetected_chromedriver

Selenium is the long-established automation toolkit and supports Python among other languages. The comparison paired default Selenium with undetected_chromedriver. Default Selenium scored 100% headless and 0% stealth. The patched driver brought the headless score down to 67%, also with 0% stealth, after changing only two lines. As with Patchright, the result is partial rather than invisible.

Puppeteer and the stealth plugin

Puppeteer is Google's JavaScript automation framework, focused mainly on Chrome, with Firefox also supported. The test used the official Node library rather than the Python port because the core library and patches are more actively maintained in JavaScript. Regular Puppeteer scored 100% headless and 0% stealth. Adding puppeteer-extra with the stealth plugin lowered headless to 33%, the best headless figure among the Chromium patches, but raised stealth to 80%. That trade-off matters: a site that checks stealth will still flag the setup.

Nodriver

Nodriver is a Python automation framework that works without Selenium or WebDriver and uses a fully asynchronous API. In headless mode it scored 67% headless and 0% stealth, matching undetected_chromedriver on the reported measures. Its claimed advantages are performance and faster adaptation to anti-bot changes because it does not depend on Selenium or WebDriver.

Headful mode on a virtual display

None of the Chromium patches reached 0% headless while running headless. A virtual display offers a workaround: a simulated display lets the browser run headful on a server or VPS with no physical monitor. The approach is Linux-only in these tests and can use more resources than headless mode. With a virtual display, Patchright, undetected_chromedriver and Nodriver all reached 0% headless and 0% stealth. The Puppeteer stealth plugin reached 0% headless but remained at 80% stealth, showing that the plugin itself is detectable.

Camoufox

Camoufox is a custom Firefox build for web scraping that bundles fingerprint spoofing and stealth patches and handles virtual display internally. Firefox was chosen partly because it is open-source and easier to patch than closed-source Chrome, and because many anti-bot tools target Chromium-based automation. Some advanced features, such as canvas fingerprint rotation, are kept closed-source to resist reverse engineering. In headless mode Camoufox scored 0% headless, 0% stealth and 6% like headless. With a virtual display, all three measures reached 0%.

Decision checklist

Use this checklist before committing to a setup. First, decide whether headless operation is mandatory; if it is, Camoufox is the only option here that reached 0% on both headless and stealth. Second, if you must stay on Chromium, treat Patchright, undetected_chromedriver and Nodriver as partial improvements to 67% headless, not as clean passes. Third, avoid judging the Puppeteer stealth plugin by its headless score alone, because its 80% stealth score is a separate failure. Fourth, if headful operation is acceptable, a virtual display on Linux can bring Patchright, undetected_chromedriver and Nodriver to 0% on both measures, at the cost of extra resources. Finally, re-run CreepJS after any browser, driver or patch update, because these scores describe the captured test conditions rather than a permanent guarantee.

Other fingerprinting tools

CreepJS appears to be the most comprehensive open-source fingerprinting tool at the time of writing, which is why it works well as a benchmark. FingerprintJS is a source-available library from a commercial vendor, aimed mainly at identifying individual users even across private browsing sessions, with bot detection as a secondary offering. Broprint.js is a small open-source visitor identifier built from canvas and audio signals, a subset of what CreepJS examines, and it does not appear focused on bot, headless or stealth detection.

CreepJS scores by tool and mode
Tool / patchModeLike headlessHeadlessStealth
PlaywrightHeadless88%100%0%
PatchrightHeadless88%67%0%
PatchrightHeadful, virtual display44%0%0%
SeleniumHeadless44%100%0%
Undetected ChromedriverHeadless44%67%0%
Undetected ChromedriverHeadful, virtual display44%0%0%
PuppeteerHeadless50%100%0%
Puppeteer Extra Stealth PluginHeadless44%33%80%
Puppeteer Extra Stealth PluginHeadful, virtual display44%0%80%
NodriverHeadless44%67%0%
NodriverHeadful, virtual display44%0%0%
CamoufoxHeadless6%0%0%
CamoufoxHeadful, virtual display0%0%0%

Captured test scores from the supplied comparison; use as dated evidence for the tested configurations, not as a current guarantee.

Frequently asked questions

What does CreepJS actually measure?

CreepJS gathers browser and OS signals in JavaScript, hashes them into comparable strings, and groups those hashes into a device fingerprint. It then checks for tampering and for mismatches between the user agent and the features a browser should expose.

Which patched setup improved the headless score most in headless mode?

In the captured headless tests, regular Playwright, Selenium and Puppeteer each scored 100% headless. Patchright and undetected_chromedriver reduced that to 67%, Nodriver also reached 67%, and the Puppeteer stealth plugin reached 33% headless but 80% stealth.

When did any setup reach 0% headless and 0% stealth?

Running the browser headful on a virtual display brought the headless score to 0% for Patchright, undetected_chromedriver and Nodriver, while the Puppeteer stealth plugin still showed 80% stealth. Camoufox reached 0% headless and 0% stealth in headless mode, and 0% on all three reported measures with a virtual display.

How do FingerprintJS and Broprint.js differ in focus from CreepJS?

FingerprintJS is presented as a source-available library focused mainly on identifying individual users, including across private browsing sessions, with bot detection as a smaller part of its offering. Broprint.js is described as a small open-source visitor identifier using canvas and audio signals, with no apparent focus on bot, headless or stealth detection.

Tool/PatchHeadless ModeLike HeadlessHeadlessStealth
PlaywrightHeadless88%100%0%
PatchrightHeadless88%67%0%
Headful, Virtual Display44%0%0%
SeleniumHeadless44%100%0%
Undetected ChromedriverHeadless44%67%0%
Headful, Virtual Display44%0%0%
PuppeteerHeadless50%100%0%
Puppeteer Extra Stealth PluginHeadless44%33%80%
Headful, Virtual Display44%0%80%
NodriverHeadless44%67%0%
Headful, Virtual Display44%0%0%
CamoufoxHeadless6%0%0%
Headful, Virtual Display0%0%0%