Class CSSSupports

java.lang.Object
org.openqa.selenium.devtools.v141.css.model.CSSSupports

@Beta public class CSSSupports extends Object
CSS Supports at-rule descriptor.
  • Constructor Details

  • Method Details

    • getText

      public String getText()
      Supports rule text.
    • getActive

      public Boolean getActive()
      Whether the supports condition is satisfied.
    • getRange

      public Optional<SourceRange> getRange()
      The associated rule header range in the enclosing stylesheet (if available).
    • getStyleSheetId

      public Optional<StyleSheetId> getStyleSheetId()
      Identifier of the stylesheet containing this object (if exists).