puppeteer/new-docs/puppeteer.protocol.target.attachtotargetrequest.md

20 lines
952 B
Markdown
Raw Normal View History

<!-- 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; [AttachToTargetRequest](./puppeteer.protocol.target.attachtotargetrequest.md)
## Protocol.Target.AttachToTargetRequest interface
<b>Signature:</b>
```typescript
export interface AttachToTargetRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [flatten](./puppeteer.protocol.target.attachtotargetrequest.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. |
| [targetId](./puppeteer.protocol.target.attachtotargetrequest.targetid.md) | [TargetID](./puppeteer.protocol.target.targetid.md) | |