puppeteer/new-docs/puppeteer.protocol.network.initiator.md

24 lines
1.2 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; [Network](./puppeteer.protocol.network.md) &gt; [Initiator](./puppeteer.protocol.network.initiator.md)
## Protocol.Network.Initiator interface
Information about the request initiator.
<b>Signature:</b>
```typescript
export interface Initiator
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [lineNumber](./puppeteer.protocol.network.initiator.linenumber.md) | number | Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based). |
| [stack](./puppeteer.protocol.network.initiator.stack.md) | [Runtime.StackTrace](./puppeteer.protocol.runtime.stacktrace.md) | Initiator JavaScript stack trace, set for Script only. |
| [type](./puppeteer.protocol.network.initiator.type.md) | ('parser' \| 'script' \| 'preload' \| 'SignedExchange' \| 'other') | Type of this initiator. |
| [url](./puppeteer.protocol.network.initiator.url.md) | string | Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type. |