Class CSSScope
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.css.model.CSSScope
-
@Beta public class CSSScope extends java.lang.Object
CSS Scope at-rule descriptor.
-
-
Constructor Summary
Constructors Constructor Description CSSScope(java.lang.String text, java.util.Optional<SourceRange> range, java.util.Optional<StyleSheetId> styleSheetId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.String
getText()
Scope rule text.
-
-
-
Constructor Detail
-
CSSScope
public CSSScope(java.lang.String text, java.util.Optional<SourceRange> range, java.util.Optional<StyleSheetId> styleSheetId)
-
-
Method Detail
-
getText
public java.lang.String getText()
Scope rule text.
-
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).
-
-