Table of Contents

Class AdAncestry

Namespace
OpenQA.Selenium.DevTools.V147.Audits
Assembly
Selenium.WebDriver.dll

Providence about how an ad script was determined to be such. It is an ad because its url matched a filterlist rule, or because some other ad script was on the stack when this script was loaded.

public sealed class AdAncestry
Inheritance
AdAncestry
Inherited Members

Properties

AdAncestryChain

The ad-script in the stack when the offending script was loaded. This is recursive down to the root script that was tagged due to the filterlist rule.

[JsonPropertyName("adAncestryChain")]
public AdScriptIdentifier[] AdAncestryChain { get; set; }

Property Value

AdScriptIdentifier[]

RootScriptFilterlistRule

The filterlist rule that caused the root (last) script in adAncestry to be ad-tagged.

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

Property Value

string