Agents driving obscura through MCP, Puppeteer, or Playwright are invisible because the browser is headless. Add a guide showing how to stream what the browser sees to a local tab with a small dependency-free Node script (Node 21+ native WebSocket). The script attaches through Target.attachToTarget and polls Page.captureScreenshot twice a second over Server-Sent Events. Polling is deliberate: screencast frames stream only to the session that drives the page, so a passive viewer goes quiet once an agent session takes over. The guide documents that plus two more behaviors found while building it: every screencast frame needs screencastFrameAck or delivery stalls, and a bare page socket refuses screencast commands with 503. Fixes #691.
1.1 KiB
1.1 KiB
Table of contents
Quickstart
Guides
- Build from source
- Configure stealth and proxies
- Markdown extraction
- Use with Puppeteer
- Use with Playwright
- Use the MCP server
- Watch agent sessions live
- Use as a Rust library
- Persist cookies and storage
- Intercept and modify requests
- Run in production at scale