How-to guides
Step-by-step instructions for readers who already worked through the tutorial and know the vocabulary — Frame Agent, Host, Relay, Client, Target, Pairing, Session. Each guide solves one task and assumes the fundamentals.
- Make an app answer CDP from inside its own iframe — Embed the Frame Agent.
- Register an iframe as a Target on the Host — Pair an iframe as a Target.
- Read a Target's events and run commands with no server in the path — Tap a Target locally.
- Expose a Chrome-compatible CDP endpoint for external Clients — Run a Relay.
- Snapshot, locate, and act on a Target from the CLI — Drive a Target with agent-browser.
- Let a Client open and close Targets via
Target.createTarget/Target.closeTarget— Client-driven Targets. - Run the Relay outside Node on a runtime-agnostic core — Embed a Relay in another runtime.
- Add icdp to a Next.js / Vite / framework app without fighting the build — Use in a bundler app.