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