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

Properties

targetId: TargetID
optional
flatten: boolean

Enables "flat" access to the session via specifying sessionId attribute in the commands. We plan to make this the default, deprecate non-flattened mode, and eventually retire it. See crbug.com/991325.