Class AdProvenance
java.lang.Object
org.openqa.selenium.devtools.v148.network.model.AdProvenance
Represents the provenance of an ad resource or element. Only one of
`filterlistRule` or `adScriptAncestry` can be set. If `filterlistRule`
is provided, the resource URL directly matches a filter list rule. If
`adScriptAncestry` is provided, an ad script initiated the resource fetch or
appended the element to the DOM. If neither is provided, the entity is
known to be an ad, but provenance tracking information is unavailable.
-
Constructor Summary
ConstructorsConstructorDescriptionAdProvenance(Optional<String> filterlistRule, Optional<AdAncestry> adScriptAncestry) -
Method Summary
Modifier and TypeMethodDescriptionThe script ancestry that created the ad, if any.The filterlist rule that matched, if any.
-
Constructor Details
-
AdProvenance
-
-
Method Details
-
getFilterlistRule
The filterlist rule that matched, if any. -
getAdScriptAncestry
The script ancestry that created the ad, if any.
-