Class AdAncestry
java.lang.Object
org.openqa.selenium.devtools.v147.audits.model.AdAncestry
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.
-
Constructor Summary
ConstructorsConstructorDescriptionAdAncestry(List<AdScriptIdentifier> adAncestryChain, Optional<String> rootScriptFilterlistRule) -
Method Summary
Modifier and TypeMethodDescriptionThe ad-script in the stack when the offending script was loaded.The filterlist rule that caused the root (last) script in `adAncestry` to be ad-tagged.
-
Constructor Details
-
AdAncestry
public AdAncestry(List<AdScriptIdentifier> adAncestryChain, Optional<String> rootScriptFilterlistRule)
-
-
Method Details
-
getAdAncestryChain
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. -
getRootScriptFilterlistRule
The filterlist rule that caused the root (last) script in `adAncestry` to be ad-tagged.
-