Class CSSContainerQuery
java.lang.Object
org.openqa.selenium.devtools.v150.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, String conditionText) -
Method Summary
Modifier and TypeMethodDescriptionCSSContainerRule.conditionTextOptional 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()Deprecated.
-
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, String conditionText)
-
-
Method Details
-
getText
Deprecated.Container query text. Contains the query part without the container name for a single query. Deprecated in favor of conditionText which contains the full prelude after @container. -
getRange
The associated rule header range in the enclosing stylesheet (if available). -
getStyleSheetId
Identifier of the stylesheet containing this object (if exists). -
getName
-
getPhysicalAxes
Optional physical axes queried for the container. -
getLogicalAxes
Optional logical axes queried for the container. -
getQueriesScrollState
-
getQueriesAnchored
-
getConditionText
CSSContainerRule.conditionText
-