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

57 lines
3.9 KiB
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)
## Protocol.Target namespace
Supports additional targets discovery and allows to attach to them.
<b>Signature:</b>
```typescript
export namespace Target
```
## Interfaces
| Interface | Description |
| --- | --- |
| [ActivateTargetRequest](./puppeteer.protocol.target.activatetargetrequest.md) | |
| [AttachedToTargetEvent](./puppeteer.protocol.target.attachedtotargetevent.md) | Issued when attached to target because of auto-attach or <code>attachToTarget</code> command. |
| [AttachToBrowserTargetResponse](./puppeteer.protocol.target.attachtobrowsertargetresponse.md) | |
| [AttachToTargetRequest](./puppeteer.protocol.target.attachtotargetrequest.md) | |
| [AttachToTargetResponse](./puppeteer.protocol.target.attachtotargetresponse.md) | |
| [CloseTargetRequest](./puppeteer.protocol.target.closetargetrequest.md) | |
| [CloseTargetResponse](./puppeteer.protocol.target.closetargetresponse.md) | |
| [CreateBrowserContextRequest](./puppeteer.protocol.target.createbrowsercontextrequest.md) | |
| [CreateBrowserContextResponse](./puppeteer.protocol.target.createbrowsercontextresponse.md) | |
| [CreateTargetRequest](./puppeteer.protocol.target.createtargetrequest.md) | |
| [CreateTargetResponse](./puppeteer.protocol.target.createtargetresponse.md) | |
| [DetachedFromTargetEvent](./puppeteer.protocol.target.detachedfromtargetevent.md) | Issued when detached from target for any reason (including <code>detachFromTarget</code> command). Can be issued multiple times per target if multiple sessions have been attached to it. |
| [DetachFromTargetRequest](./puppeteer.protocol.target.detachfromtargetrequest.md) | |
| [DisposeBrowserContextRequest](./puppeteer.protocol.target.disposebrowsercontextrequest.md) | |
| [ExposeDevToolsProtocolRequest](./puppeteer.protocol.target.exposedevtoolsprotocolrequest.md) | |
| [GetBrowserContextsResponse](./puppeteer.protocol.target.getbrowsercontextsresponse.md) | |
| [GetTargetInfoRequest](./puppeteer.protocol.target.gettargetinforequest.md) | |
| [GetTargetInfoResponse](./puppeteer.protocol.target.gettargetinforesponse.md) | |
| [GetTargetsResponse](./puppeteer.protocol.target.gettargetsresponse.md) | |
| [ReceivedMessageFromTargetEvent](./puppeteer.protocol.target.receivedmessagefromtargetevent.md) | Notifies about a new protocol message received from the session (as reported in <code>attachedToTarget</code> event). |
| [RemoteLocation](./puppeteer.protocol.target.remotelocation.md) | |
| [SendMessageToTargetRequest](./puppeteer.protocol.target.sendmessagetotargetrequest.md) | |
| [SetAutoAttachRequest](./puppeteer.protocol.target.setautoattachrequest.md) | |
| [SetDiscoverTargetsRequest](./puppeteer.protocol.target.setdiscovertargetsrequest.md) | |
| [SetRemoteLocationsRequest](./puppeteer.protocol.target.setremotelocationsrequest.md) | |
| [TargetCrashedEvent](./puppeteer.protocol.target.targetcrashedevent.md) | Issued when a target has crashed. |
| [TargetCreatedEvent](./puppeteer.protocol.target.targetcreatedevent.md) | Issued when a possible inspection target is created. |
| [TargetDestroyedEvent](./puppeteer.protocol.target.targetdestroyedevent.md) | Issued when a target is destroyed. |
| [TargetInfo](./puppeteer.protocol.target.targetinfo.md) | |
| [TargetInfoChangedEvent](./puppeteer.protocol.target.targetinfochangedevent.md) | Issued when some information about a target has changed. This only happens between <code>targetCreated</code> and <code>targetDestroyed</code>. |
## Type Aliases
| Type Alias | Description |
| --- | --- |
| [SessionID](./puppeteer.protocol.target.sessionid.md) | Unique identifier of attached debugging session. |
| [TargetID](./puppeteer.protocol.target.targetid.md) | |