mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
24 lines
1.2 KiB
Markdown
24 lines
1.2 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [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. |
|
||
|
|