CloakHQ/CloakBrowser
Developer ToolsStealth Chromium with Playwright and Puppeteer-compatible APIs for browser automation on bot-protected sites.
What it is
CloakBrowser wraps a custom-built Chromium binary with Playwright- and Puppeteer-compatible launchers for Python and JavaScript. Instead of injecting JavaScript or tweaking flags, it ships a Chromium compiled with 108 C++-level patches covering canvas, WebGL, audio, fonts, GPU, screen, WebRTC, network timing and automation signals, so fingerprint checks see an ordinary browser How It Works. The project targets scraping, QA and automation work on sites behind anti-bot systems such as Cloudflare Turnstile, FingerprintJS and reCAPTCHA.
Install and first launch
Python:
pip install cloakbrowser
JavaScript with Playwright:
npm install cloakbrowser playwright-core
On first launch the wrapper downloads a ~200 MB stealth Chromium build for your platform. Every launch requires a license key: an interactive first run asks for your email to issue a free key, or you can set CLOAKBROWSER_LICENSE_KEY, run cloakbrowser login, or pass license_key= to launch() Install.
Minimal Python script:
from cloakbrowser import launch
browser = launch()
page = browser.new_page()
page.goto("https://example.com")
browser.close()
For protected sites the recommended configuration adds a residential proxy, geoip=True, headless=False and humanize=True Recommended config. Setup diagnostics and binary management are available through python -m cloakbrowser info, install, update and clear-cache CLI.
What changes under the hood
humanize=True swaps Playwright and Puppeteer mouse, keyboard, scroll and element-read calls for human-like equivalents using Bézier curves, per-character typing and realistic scrolling, without code changes Human Behavior. Fingerprints are seeded automatically; fixing a seed with --fingerprint=42069 or overriding individual values is possible, but the wrapper recommends keeping the seed as the single source of identity Fingerprint Management. Persistent profiles via launch_persistent_context() keep cookies, localStorage and the fingerprint seed between runs.
Constraints
- The wrapper is MIT, but the Chromium binary needs a license key: free with email at one concurrent session, paid Pro tiers for more sessions; the binary may not be redistributed License.
- Linux defaults to a Windows persona; aggressive anti-bot sites expect emoji, CJK and real Windows fonts installed, or a Docker image that ships them Font Setup on Linux.
- Some sites detect headless mode even with the patches, so headed mode under Xvfb is suggested for DataDome and Turnstile deployments Troubleshooting.
- Puppeteer's CDP traffic is detectable by reCAPTCHA Enterprise, so Playwright is the recommended integration.
- Binary downloads are verified against a pinned Ed25519 signature on the checksums before extraction Security.
- A license check runs on every launch and, behind restrictive networks, must be routed through the proxy passed to
launch().
HotRepo's take
From the recorded daily snapshots, CloakBrowser went from 4,352 to 17,170 stars between 2026-05-10 and 2026-05-20, adding over 1,300 stars daily for most of that stretch. The last recorded entry is a Python weekly list from 2026-12-04, when the repository had 35,403 stars and a reported 2,356 weekly additions at position 6 on that list. Those daily and weekly figures are separate observation windows, and there is no captured all-language daily rank for this project, so the snapshots support strong interest in May 2026 rather than a claim about current momentum. Given the paid license key and email signup, the project is best read as a commercial stealth-browser distribution with a free single-session tier rather than a fully open browser.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- browser-use/browser-usePython library that lets an LLM drive a real browser via CDP to complete web tasks.
- microsoft/playwrightDrive Chromium, Firefox and WebKit through one API for end-to-end tests, browser scripts, or AI-agent automation.
- lightpanda-io/browserA headless browser written in Zig for AI agents and web automation, compatible with Puppeteer and Playwright over CDP.
- lexmount/moliA headless browser built for AI agents that skips visual rendering unless a task needs it, cutting memory and CPU for crawl and automation workloads.
- SeleniumHQ/seleniumA W3C WebDriver implementation that lets tests and scripts drive real browsers across languages.