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.
36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
# Table of contents
|
|
|
|
* [Introduction](README.md)
|
|
|
|
## Quickstart
|
|
|
|
* [Installation](Installation.md)
|
|
* [Your first fetch](Your-first-fetch.md)
|
|
* [Extract data](Extract-data.md)
|
|
* [Connect Puppeteer or Playwright](Connect-Puppeteer-or-Playwright.md)
|
|
|
|
## Guides
|
|
|
|
* [Build from source](Build-from-source.md)
|
|
* [Configure stealth and proxies](Configure-stealth-and-proxies.md)
|
|
* [Markdown extraction](Markdown-extraction.md)
|
|
* [Use with Puppeteer](Use-with-Puppeteer.md)
|
|
* [Use with Playwright](Use-with-Playwright.md)
|
|
* [Use the MCP server](Use-the-MCP-server.md)
|
|
* [Watch agent sessions live](Watch-agent-sessions-live.md)
|
|
* [Use as a Rust library](Use-as-a-Rust-library.md)
|
|
* [Persist cookies and storage](Persist-cookies-and-storage.md)
|
|
* [Intercept and modify requests](Intercept-and-modify-requests.md)
|
|
* [Run in production at scale](Run-in-production-at-scale.md)
|
|
|
|
## Reference
|
|
|
|
* [CLI reference](CLI-reference.md)
|
|
* [Environment variables](Environment-variables.md)
|
|
|
|
## Contributing
|
|
|
|
* [Architecture overview](Architecture-overview.md)
|
|
* [Adding a CDP method or Web API](Adding-a-CDP-method-or-Web-API.md)
|
|
* [Testing and debugging](Testing-and-debugging.md)
|