Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method CDPSession.prototype.detach
import { CDPSession } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/common/Connection.js";

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>