Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Network.Initiator
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { Initiator } = default.Network;

Information about the request initiator.

Properties

type: (
| "parser"
| "script"
| "preload"
| "SignedExchange"
| "preflight"
| "other"
)

Type of this initiator. (InitiatorType enum)

optional
stack: Runtime.StackTrace

Initiator JavaScript stack trace, set for Script only.

optional
url: string

Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.

optional
lineNumber: number

Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).

optional
columnNumber: number

Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).

optional
requestId: RequestId

Set if another request triggered this request (e.g. preflight).