Class CSSSupports
- java.lang.Object
-
- org.openqa.selenium.devtools.v109.css.model.CSSSupports
-
@Beta public class CSSSupports extends java.lang.ObjectCSS Supports at-rule descriptor.
-
-
Constructor Summary
Constructors Constructor Description CSSSupports(java.lang.String text, java.lang.Boolean active, java.util.Optional<SourceRange> range, java.util.Optional<StyleSheetId> styleSheetId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetActive()Whether the supports condition is satisfied.java.util.Optional<SourceRange>getRange()The associated rule header range in the enclosing stylesheet (if available).java.util.Optional<StyleSheetId>getStyleSheetId()Identifier of the stylesheet containing this object (if exists).java.lang.StringgetText()Supports rule text.
-
-
-
Constructor Detail
-
CSSSupports
public CSSSupports(java.lang.String text, java.lang.Boolean active, java.util.Optional<SourceRange> range, java.util.Optional<StyleSheetId> styleSheetId)
-
-
Method Detail
-
getText
public java.lang.String getText()
Supports rule text.
-
getActive
public java.lang.Boolean getActive()
Whether the supports condition is satisfied.
-
getRange
public java.util.Optional<SourceRange> getRange()
The associated rule header range in the enclosing stylesheet (if available).
-
getStyleSheetId
public java.util.Optional<StyleSheetId> getStyleSheetId()
Identifier of the stylesheet containing this object (if exists).
-
-