Why the transport is detached; undefined while attached.
A page socket never re-attaches.
Send a command without awaiting it. Required before a page's first navigation, where commands may not resolve until navigation starts (ADR-0002). Failures are swallowed.
Optionalparams: objectOptionalsessionId: stringSend a command and await its result. Rejects with a BridgeError.
Optionalparams: objectOptionalsessionId: stringStaticopenOpen the page's socket; rejects when it cannot be reached.
CDP over one page's DevTools WebSocket (
ws://host:port/devtools/page/<id>), for Attach mode. One socket per page, so the engine sees no session ids of its own; child sessions (auto-attached frames and workers) carry theirs as usual. When the socket closes, the page is detached for good: a page that comes back is a new target.