puppeteer/new-docs/puppeteer.protocol.target.setautoattachrequest.md
2020-07-13 14:01:35 +01:00

21 lines
1.2 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Target](./puppeteer.protocol.target.md) &gt; [SetAutoAttachRequest](./puppeteer.protocol.target.setautoattachrequest.md)
## Protocol.Target.SetAutoAttachRequest interface
<b>Signature:</b>
```typescript
export interface SetAutoAttachRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [autoAttach](./puppeteer.protocol.target.setautoattachrequest.autoattach.md) | boolean | Whether to auto-attach to related targets. |
| [flatten](./puppeteer.protocol.target.setautoattachrequest.flatten.md) | 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. |
| [waitForDebuggerOnStart](./puppeteer.protocol.target.setautoattachrequest.waitfordebuggeronstart.md) | boolean | Whether to pause new targets when attaching to them. Use <code>Runtime.runIfWaitingForDebugger</code> to run paused targets. |