Expand description
Flat CDP sessions: addressing commands and attributing events to a target other than the one the connection was opened to.
Attaching to a target yields a session id. A command carrying that id beside
its id runs in that target, and an event raised there comes back carrying it
too. Everything rides the one WebSocket CdpClient already owns, so an
out-of-process iframe, a service worker, or a second tab is reachable without
a second connection.
Structs§
- CdpSession
- A handle for driving one attached target over the client’s connection.
- Session
Event - One CDP event, and which target raised it.