Table of Contents

Class CSSContainerQuery

Namespace
Selenium.WebDriver.BiDi.Cdp.CSS
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

CSS container query rule descriptor.

public sealed record CSSContainerQuery : IEquatable<CSSContainerQuery>
Inheritance
CSSContainerQuery
Implements
Inherited Members

Constructors

CSSContainerQuery(string, string)

CSS container query rule descriptor.

public CSSContainerQuery(string Text, string ConditionText)

Parameters

Text string

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.

ConditionText string

CSSContainerRule.conditionText

Properties

ConditionText

CSSContainerRule.conditionText

public string ConditionText { get; init; }

Property Value

string

LogicalAxes

Optional logical axes queried for the container.

public LogicalAxes? LogicalAxes { get; init; }

Property Value

LogicalAxes?

Name

Optional name for the container.

public string? Name { get; init; }

Property Value

string

PhysicalAxes

Optional physical axes queried for the container.

public PhysicalAxes? PhysicalAxes { get; init; }

Property Value

PhysicalAxes?

QueriesAnchored

true if the query contains anchored() queries.

public bool? QueriesAnchored { get; init; }

Property Value

bool?

QueriesScrollState

true if the query contains scroll-state() queries.

public bool? QueriesScrollState { get; init; }

Property Value

bool?

Range

The associated rule header range in the enclosing stylesheet (if available).

public SourceRange? Range { get; init; }

Property Value

SourceRange

StyleSheetId

Identifier of the stylesheet containing this object (if exists).

public StyleSheetId? StyleSheetId { get; init; }

Property Value

StyleSheetId

Text

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.

public string Text { get; init; }

Property Value

string