Table of Contents

Class AdScriptIdentifier

Namespace
Selenium.WebDriver.BiDi.Cdp.Network
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Identifies the script on the stack that caused a resource or element to be labeled as an ad. For resources, this indicates the context that triggered the fetch. For elements, this indicates the context that caused the element to be appended to the DOM.

public sealed record AdScriptIdentifier : IEquatable<AdScriptIdentifier>
Inheritance
AdScriptIdentifier
Implements
Inherited Members

Constructors

AdScriptIdentifier(ScriptId, UniqueDebuggerId, string)

Identifies the script on the stack that caused a resource or element to be labeled as an ad. For resources, this indicates the context that triggered the fetch. For elements, this indicates the context that caused the element to be appended to the DOM.

public AdScriptIdentifier(ScriptId ScriptId, UniqueDebuggerId DebuggerId, string Name)

Parameters

ScriptId ScriptId

The script's V8 identifier.

DebuggerId UniqueDebuggerId

V8's debugging ID for the v8::Context.

Name string

The script's url (or generated name based on id if inline script).

Properties

DebuggerId

V8's debugging ID for the v8::Context.

public UniqueDebuggerId DebuggerId { get; init; }

Property Value

UniqueDebuggerId

Name

The script's url (or generated name based on id if inline script).

public string Name { get; init; }

Property Value

string

ScriptId

The script's V8 identifier.

public ScriptId ScriptId { get; init; }

Property Value

ScriptId