Class CSSContainerQuery

java.lang.Object
org.openqa.selenium.devtools.v150.css.model.CSSContainerQuery

@Beta public class CSSContainerQuery extends Object
CSS container query rule descriptor.
  • Constructor Details

  • Method Details

    • getText

      @Deprecated public String 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

      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).
    • getName

      public Optional<String> getName()
      Optional name for the container.
    • getPhysicalAxes

      public Optional<PhysicalAxes> getPhysicalAxes()
      Optional physical axes queried for the container.
    • getLogicalAxes

      public Optional<LogicalAxes> getLogicalAxes()
      Optional logical axes queried for the container.
    • getQueriesScrollState

      public Optional<Boolean> getQueriesScrollState()
      true if the query contains scroll-state() queries.
    • getQueriesAnchored

      public Optional<Boolean> getQueriesAnchored()
      true if the query contains anchored() queries.
    • getConditionText

      public String getConditionText()
      CSSContainerRule.conditionText