Class RuleUsage
java.lang.Object
org.openqa.selenium.devtools.v127.css.model.RuleUsage
CSS coverage information.
-
Constructor Summary
ConstructorsConstructorDescriptionRuleUsage
(StyleSheetId styleSheetId, Number startOffset, Number endOffset, Boolean used) -
Method Summary
Modifier and TypeMethodDescriptionOffset of the end of the rule body from the beginning of the stylesheet.Offset of the start of the rule (including selector) from the beginning of the stylesheet.The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.getUsed()
Indicates whether the rule was actually used by some element in the page.
-
Constructor Details
-
RuleUsage
-
-
Method Details
-
getStyleSheetId
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. -
getStartOffset
Offset of the start of the rule (including selector) from the beginning of the stylesheet. -
getEndOffset
Offset of the end of the rule body from the beginning of the stylesheet. -
getUsed
Indicates whether the rule was actually used by some element in the page.
-