Table of Contents

Class Initiator

Namespace
OpenQA.Selenium.DevTools.V146.Network
Assembly
Selenium.WebDriver.dll

Information about the request initiator.

public sealed class Initiator
Inheritance
Initiator
Inherited Members

Properties

ColumnNumber

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

[JsonPropertyName("columnNumber")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? ColumnNumber { get; set; }

Property Value

double?

LineNumber

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

[JsonPropertyName("lineNumber")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? LineNumber { get; set; }

Property Value

double?

RequestId

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

[JsonPropertyName("requestId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? RequestId { get; set; }

Property Value

string

Stack

Initiator JavaScript stack trace, set for Script only. Requires the Debugger domain to be enabled.

[JsonPropertyName("stack")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StackTrace? Stack { get; set; }

Property Value

StackTrace

Type

Type of this initiator.

[JsonPropertyName("type")]
public InitiatorTypeValues Type { get; set; }

Property Value

InitiatorTypeValues

Url

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

[JsonPropertyName("url")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Url { get; set; }

Property Value

string