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

Properties

autoAttach: boolean

Whether to auto-attach to related targets.

waitForDebuggerOnStart: boolean

Whether to pause new targets when attaching to them. Use Runtime.runIfWaitingForDebugger to run paused targets.

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.