testing library

Test doubles for CDP consumers: a scriptable in-process fake server.

Import this only from test code.

Classes

FakeCdpServer
In-process fake CDP endpoint for tests: serves /json/version, /json/list, and a page-level debugger WebSocket that answers the domains universal_browser_cdp uses.

Constants

fakePngBase64 → const String
A canned CDP PNG payload (1x1 transparent pixel).