Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Target.DetachedFromTargetEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { DetachedFromTargetEvent } = default.Target;

Issued when detached from target for any reason (including detachFromTarget command). Can be issued multiple times per target if multiple sessions have been attached to it.

Properties

sessionId: SessionID

Detached session identifier.

optional
targetId: TargetID

Deprecated.