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

1.2 KiB

Home > puppeteer > Protocol > Network > Initiator

Protocol.Network.Initiator interface

Information about the request initiator.

Signature:

export interface Initiator 

Properties

Property Type Description
lineNumber number Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).
stack Runtime.StackTrace Initiator JavaScript stack trace, set for Script only.
type ('parser' | 'script' | 'preload' | 'SignedExchange' | 'other') Type of this initiator.
url string Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.