---
name: "playwright-stealth-fingerprint"
description: "Bypass advanced bot detection and Cloudflare Turnstile with Playwright Stealth."
metadata:
  author: "berstend"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "bypass cloudflare bot detection playwright"
  - "hide navigator.webdriver playwright"
  - "emulate human mouse movement"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Playwright Stealth Browser Fingerprint Masking

Configures Playwright with stealth evasions: overriding navigator.webdriver, randomized WebGL/Canvas noise, realistic viewport dimensions, humanized mouse curves, and residential proxy rotation.

## When to Invoke
Invoke this skill whenever you need to:
- bypass cloudflare bot detection playwright
- hide navigator.webdriver playwright
- emulate human mouse movement

## Execution SOP & Rules
1. Use playwright-extra with puppeteer-extra-plugin-stealth to strip automated flags.
2. Rotate authentic User-Agent strings matching target platform operating systems.
3. Inject random delays between page interactions to avoid triggering heuristic rate limits.
4. Ensure cookies and browser session contexts are preserved across paginated scraping passes.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
