CamouBrowser Docs

Stealth Overview

Explanation

How the browsers hide their automation library

A page should not be able to tell that it is being driven. Normally, Playwright injects some JavaScript into the page, such as window.__playwright__binding__, to query elements, evaluate JavaScript or run init scripts, and the driver's launch flags change what the page can read. Websites can detect both. Camoufox and Camouwolf keep Playwright's own scripts out of the page's world.

How they do it differs, because Playwright drives the two engines through different protocols: Juggler for Firefox, the Chrome DevTools Protocol (CDP) for Chromium.

A sandboxed Page Agent

In Camoufox, all of Playwright's internal Page Agent's code is sandboxed and isolated. This makes it impossible for a page to detect the presence of Playwright through Javascript inspection.

Querying elements, evaluating JavaScript and running init scripts are handled in an isolated scope outside of the page. In other words, websites can no longer "see" any JavaScript that Playwright would typically inject. This prevents traces of Playwright altogether. See Juggler below for how.

However, even with its automation hidden, neither browser is immune to inconsistencies in fingerprint rotation. This still requires maintenance to spot and fix.

Page Interactions

Anti-bot systems also run client-side scripts to monitor your behavior. For example, they look for patterns in mouse movements, clicks, scrolling, and the timing between actions.

Neither browser shapes input inside the browser: clicks, keys and scrolls reach the page as your driver sends them. Pacing and cursor paths are planned in the driver, with humanize. Both make the driver's wheel events carry ticks, as a physical mouse wheel's do.

Camouwolf

Chromium coalesces protocol mouse moves exactly as it coalesces native ones. Protocol drags hold the left button, as a user's drag does.


How the browsers rotate identities

In addition to hiding the automation library, your identity must be randomized in each instance as well to avoid rate limiting and detection. Rotating your IP address means nothing if it's obviously you each time. There are thousands of things that create a unique fingerprint of you.

Market Share Distribution

Even if you are rotating your IP for each running bot instance, web access firewalls can still use machine learning to analyze incoming web traffic to detect if it's abnormal. If the Linux market share was 5%, then suddenly it's 20%, it's a red flag. They will unconditionally require all Linux users to complete a captcha.

Both browsers use fpgen's fingerprint generator to mimic the statistical distribution of device data in real-world traffic. Camoufox draws from devices recorded for Firefox, Camouwolf from devices recorded for Chrome. For example, Camoufox will make your browser look like a Linux user 5% of the time. Of that 5%, it will spoof a 2560x1440 screen resolution 9.5% of the time and an Intel HD GPU 27.5% of the time.

How can they be detected?

Both browsers can spoof fingerprints with a correct market share. However, fingerprints must also be internally consistent. A Windows user agent with an Apple M1 GPU, a MacOS user agent with a Windows DirectX renderer, and a mobile device with a desktop screen resolution are all impossible, and will be flagged for being suspicious.

Of the thousands of possible datapoints that must be changed to create a believable spoofed fingerprint, where each change must be consistent with the others, neither browser always succeeds. Anti-bot providers test these browsers over and over again to find even 1 unique inconsistency, then they immediately update their background scripts to test for it.

Camouwolf

Camouwolf claims to be Chromium, not Google Chrome: it sends Chromium's brand list and only local speech voices, so a check that admits only Google Chrome will see Chromium. Surfaces it has not patched yet are listed in its PATCHES.md; macOS key bindings are one, so the launcher refuses a macOS identity on a Linux host unless allow_os_mismatch is set.


How do they compare to other solutions?


JavaScript-based solutions

In the past, developers tried injecting JavaScript to spoof these values, but it doesn't work reliably since JavaScript can't spoof everything. Incomplete coverage causes inconsistent fingerprints. For example, an anti-bot system will flag you if your network request's User Agent doesn't match your navigator's User Agent.

Additionally, all injected JavaScript is detectable in some way. Anti-bot systems can check if Object.getOwnPropertyDescriptor reveals an overwritten property, if a function's toString() no longer returns [native code] (revealing it was hijacked), or if data in the window context doesn't match the worker thread context. Workarounds only take you so far, but there will always be a way to detect JS injection if you search deep enough.

The CamouBrowser approach

Since both browsers intercept calls in the browser's C++ implementation, all of the hijacked objects and properties appear native. There is no JavaScript hijacking to be detected.

Both also attempt to generate consistent and believable fingerprints with fpgen. However, this can still be detected by complex fingerprint detection methods like mismatching data (as described earlier).


CDP-based libraries

CDP (Chrome DevTools Protocol) is an automation protocol built into Chromium and Firefox. However, CDP makes no effort to hide the fact that it's an automation protocol and exposes much of its functionality in the page scope. Some common methods are checking if navigator.webdriver is true, catching it reading the stack debugger, checking for variables that ChromeDriver injects into the document object for internal communication, and more.

While Playwright uses CDP to control Chromium, it uses Juggler for Firefox. Juggler is a custom protocol developed before Firefox supported CDP (original repo ). It is a distinct module within Firefox, and not part of its core browser. This makes it easier to edit and control what's revealed to the page.

Camoufox patches Juggler to give it its own isolated "copy" of the page to work with. Playwright can read and edit its own version of the page freely. Everything appears to work normally to it, but the real page is completely unaffected by these changes. The page also can't detect when things are being read (through tricks like hijacking getters) or listeners being added to watch elements.

Additionally, Juggler sends its inputs directly through the Firefox's original user input handlers, meaning they are handled the exact same way as if you were using the browser normally. Camoufox also patches Firefox's headless mode to appear the same as if it were running in a normal window. But as a fallback, the Python library can run Camoufox in a virtual display if headless mode ever leaks.

© Copyright daijro 2026. All rights reserved.