MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / connectCdp

Function connectCdp

scripts/e2e-webrtc-reliability.mjs:402–405  ·  view source on GitHub ↗
(webSocketDebuggerUrl)

Source from the content-addressed store, hash-verified

400}
401
402async function connectCdp(webSocketDebuggerUrl) {
403 const ws = await createCdpSocket(webSocketDebuggerUrl);
404 return new CdpClient(ws);
405}
406
407async function evaluate(cdp, expression, awaitPromise = true) {
408 const result = await cdp.send("Runtime.evaluate", {

Callers 1

Calls 1

createCdpSocketFunction · 0.85

Tested by

no test coverage detected