Class RuleSet
java.lang.Object
org.openqa.selenium.devtools.v114.preload.model.RuleSet
Corresponds to SpeculationRuleSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Error information `errorMessage` is null iff `errorType` is null.getId()
Identifies a document which the rule set is associated with.Source text of JSON representing the rule set.
-
Constructor Details
-
RuleSet
-
-
Method Details
-
getId
-
getLoaderId
Identifies a document which the rule set is associated with. -
getSourceText
Source text of JSON representing the rule set. If it comes from `script` tag, it is the textContent of the node. Note that it is a JSON for valid case. See also: - https://wicg.github.io/nav-speculation/speculation-rules.html - https://github.com/WICG/nav-speculation/blob/main/triggers.md -
getErrorType
Error information `errorMessage` is null iff `errorType` is null. -
getErrorMessage
Deprecated.TODO(https://crbug.com/1425354): Replace this property with structured error.
-