Class CSSContainerQuery
java.lang.Object
org.openqa.selenium.devtools.v140.css.model.CSSContainerQuery
CSS container query rule descriptor.
-
Constructor Summary
ConstructorsConstructorDescriptionCSSContainerQuery
(String text, Optional<SourceRange> range, Optional<StyleSheetId> styleSheetId, Optional<String> name, Optional<PhysicalAxes> physicalAxes, Optional<LogicalAxes> logicalAxes, Optional<Boolean> queriesScrollState, Optional<Boolean> queriesAnchored) -
Method Summary
Modifier and TypeMethodDescriptionOptional logical axes queried for the container.getName()
Optional name for the container.Optional physical axes queried for the container.true if the query contains anchored() queries.true if the query contains scroll-state() queries.getRange()
The associated rule header range in the enclosing stylesheet (if available).Identifier of the stylesheet containing this object (if exists).getText()
Container query text.
-
Constructor Details
-
CSSContainerQuery
public CSSContainerQuery(String text, Optional<SourceRange> range, Optional<StyleSheetId> styleSheetId, Optional<String> name, Optional<PhysicalAxes> physicalAxes, Optional<LogicalAxes> logicalAxes, Optional<Boolean> queriesScrollState, Optional<Boolean> queriesAnchored)
-
-
Method Details
-
getText
Container query text. -
getRange
The associated rule header range in the enclosing stylesheet (if available). -
getStyleSheetId
Identifier of the stylesheet containing this object (if exists). -
getName
Optional name for the container. -
getPhysicalAxes
Optional physical axes queried for the container. -
getLogicalAxes
Optional logical axes queried for the container. -
getQueriesScrollState
true if the query contains scroll-state() queries. -
getQueriesAnchored
true if the query contains anchored() queries.
-