Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/src/Connection.ts>CDPSession#send

Headless Chrome Deno API
Latest
method CDPSession.prototype.send
import { CDPSession } from "https://deno.land/x/pptr@1.2.0/src/Connection.ts";

Type Parameters

T extends keyof ProtocolMapping.Commands

Parameters

method: T
...paramArgs: ProtocolMapping.Commands[T]["paramsType"]

Returns

Promise<ProtocolMapping.Commands[T]["returnType"]>