CloakBrowser is a stealth Chromium binary with fingerprint patches applied at the C++ source level, wrapped in a thin Python and JavaScript API that mirrors Playwright and Puppeteer. It's built for developers running browser automation, scraping, or AI agents that keep getting flagged by antibot systems like Cloudflare, FingerprintJS, or reCAPTCHA. Instead of patching Chromium at runtime with JavaScript injection or config flags (the approach used by playwright-stealth or undetected-chromedriver), CloakBrowser compiles the patches into the binary itself, so detection scripts see a browser that behaves like a real one because it is one.
playwright to cloakbrowser and existing code runs unchanged. Works with Playwright and Puppeteer in both Python and JavaScript, plus a community-maintained .NET client.humanize=True flag adds Bézier-curve mouse movement, per-character typing timing, and realistic scroll patterns to defeat behavioral detection.geoip=True auto-detecting timezone and locale from the proxy's exit IP and spoofing WebRTC ICE candidates to match.launch_persistent_context() keeps cookies and localStorage across sessions and avoids incognito-mode detection.pip install or npm install fetches the right stealth Chromium build for your platform automatically, verified with a pinned Ed25519 signature.Install via pip or npm depending on your stack. The stealth Chromium binary (~200MB) downloads automatically on first run and is cached locally.
Python:
pip install cloakbrowser
JavaScript with Playwright:
npm install cloakbrowser playwright-core
JavaScript with Puppeteer:
npm install cloakbrowser puppeteer-core
.NET / C# (community-maintained):
dotnet add package CloakBrowser
Optional geoip support for auto-detecting timezone/locale from a proxy IP:
pip install 'cloakbrowser[geoip]'
Quick test without installing anything:
docker run --rm cloakhq/cloakbrowser cloaktest
Basic usage in Python:
from cloakbrowser import launch
browser = launch()
page = browser.new_page()
page.goto("https://example.com")
browser.close()
To get the latest binary and more concurrent sessions, sign in for a free key or set a license:
cloakbrowser login
export CLOAKBROWSER_LICENSE_KEY=cb_xxxxxxxx