java.lang.Object
org.openqa.selenium.devtools.v85.css.model.RuleUsage

public class RuleUsage extends Object
CSS coverage information.
  • Constructor Details

  • Method Details

    • getStyleSheetId

      public StyleSheetId getStyleSheetId()
      The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
    • getStartOffset

      public Number getStartOffset()
      Offset of the start of the rule (including selector) from the beginning of the stylesheet.
    • getEndOffset

      public Number getEndOffset()
      Offset of the end of the rule body from the beginning of the stylesheet.
    • getUsed

      public Boolean getUsed()
      Indicates whether the rule was actually used by some element in the page.