browser_init
Set up a configurable browser session with headless mode, proxy, viewport, video recording, and anti-detection features. Recovers stale sessions for reliable automation and testing.
Instructions
Initialize a browser session with configurable options: headless mode, proxy, viewport, video recording, resource filtering, biometric anti-detection hardware spoofing (WebGL, Canvas, AudioContext), and WebRTC leak protection. Automatically recovers stale sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxy | No | ||
| headless | No | ||
| aiHealing | No | Enable selector fallback when a selector does not match | |
| recordVideo | No | Record continuous video of the session | |
| widgetAssist | No | Automatically interact with embedded page widgets and challenge elements when present | |
| enableBlocker | No | Filter auxiliary scripts, telemetry, and background tracking requests | |
| contextOptions | No | Playwright BrowserContext options (viewport, userAgent, geolocation, permissions, httpCredentials, extraHTTPHeaders, etc.) | |
| blockWebRTCLeaks | No | Prevent local IP leaks via WebRTC when using proxies | |
| spoofFingerprint | No | Spoof WebGL vendor/renderer, Canvas noise, and AudioContext to defeat bot fingerprinting |