stealth_mode
Bypass anti-bot systems like Cloudflare and Datadome using a managed browser with randomized fingerprints and human behavior simulation. Start with create_context.
Instructions
Use this when a site blocks normal scraping — Cloudflare, Datadome, or other bot-detection systems. Manages a Playwright browser with randomized fingerprints, human behavior simulation, WebRTC/canvas spoofing. Start with operation:"create_context" then use the contextId. Example: stealth_mode({operation:"create_context", stealthConfig:{level:"advanced", simulateHumanBehavior:true}})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | Browser engine: "playwright" (Chromium, default) or "camoufox" (Firefox-based, higher anti-detect score — install with npm install camoufox) | playwright |
| contextId | No | Browser context ID for page operations | |
| operation | No | Stealth operation to perform | configure |
| urlToTest | No | URL to navigate to when creating a page | |
| stealthConfig | No | Stealth browser configuration with anti-detection settings |