Class Specificity

java.lang.Object
org.openqa.selenium.devtools.v126.css.model.Specificity

@Beta public class Specificity extends Object
Specificity: https://drafts.csswg.org/selectors/#specificity-rules
  • Constructor Details

  • Method Details

    • getA

      public Integer getA()
      The a component, which represents the number of ID selectors.
    • getB

      public Integer getB()
      The b component, which represents the number of class selectors, attributes selectors, and pseudo-classes.
    • getC

      public Integer getC()
      The c component, which represents the number of type selectors and pseudo-elements.