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

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

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

Detaches the cdpSession from the target. Once detached, the cdpSession object won't emit any events and can't be used to send messages.

Returns

Promise<void>