v1.2.2 — mockResponse()
Added
mockResponse(patterns, response)on the raw-CDP driver (connectOrca()) — fulfill matching real requests with a canned status/headers/body via CDPFetch.fulfillRequestwhile letting the rest pass through. The reliable alternative to Playwright'sroute.continue(), which hangs on real requests through the bridge. Returns{ counts: { mocked, passed }, stop() }.
Verified / not added
- Probed
Network.getResponseBodyfor HAR-with-bodies: unreliable through the proxy (No resource with given identifier found), so it's intentionally left out.
Tested 30/30 against Orca 1.4.120.