Works across origins
The embedded app opts in with a small script and answers commands against its own live page. Nothing is injected from outside, so it works even when the iframe is on a different origin than the page around it.
Drive and inspect an embedded — even cross-origin — app with real CDP tools, without a real browser debugging session.
A CDP automation tool drives an app running inside an iframe — even a cross-origin one — with no real browser debugging session. Your tool speaks standard Chrome DevTools Protocol to a small web server; the server connects to the web page that hosts the iframe; that page passes each command into the embedded app, which runs it against its own live DOM.
This is agent-browser — the same automation CLI, compiled to WebAssembly — running in your browser. It drives the iframe over CDP through icdp; there is no server and no real browser debugging session. Pick an example and run a command.
| If you want to… | Go to |
|---|---|
| Learn icdp by driving a running demo | Tutorial |
| Solve a specific task (embed, pair, relay, …) | How-to Guides |
| Look up an exact type, method, or default | Reference |
| Understand why icdp is shaped the way it is | Explanation |
New here?
Start with the tutorial — it boots the bundled playground and drives a real cross-origin iframe end to end in a few minutes, then points you at the guide or reference page for whatever you reach for next.