Table of Contents

Class CSSContainerQuery

Namespace
OpenQA.Selenium.DevTools.V150.CSS
Assembly
Selenium.WebDriver.dll

CSS container query rule descriptor.

public sealed class CSSContainerQuery
Inheritance
CSSContainerQuery
Inherited Members

Properties

ConditionText

CSSContainerRule.conditionText

[JsonPropertyName("conditionText")]
public string ConditionText { get; set; }

Property Value

string

LogicalAxes

Optional logical axes queried for the container.

[JsonPropertyName("logicalAxes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public LogicalAxes? LogicalAxes { get; set; }

Property Value

LogicalAxes?

Name

Optional name for the container.

[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Name { get; set; }

Property Value

string

PhysicalAxes

Optional physical axes queried for the container.

[JsonPropertyName("physicalAxes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public PhysicalAxes? PhysicalAxes { get; set; }

Property Value

PhysicalAxes?

QueriesAnchored

true if the query contains anchored() queries.

[JsonPropertyName("queriesAnchored")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? QueriesAnchored { get; set; }

Property Value

bool?

QueriesScrollState

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

[JsonPropertyName("queriesScrollState")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? QueriesScrollState { get; set; }

Property Value

bool?

Range

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

[JsonPropertyName("range")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public SourceRange? Range { get; set; }

Property Value

SourceRange

StyleSheetId

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

[JsonPropertyName("styleSheetId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? StyleSheetId { get; set; }

Property Value

string

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.

[JsonPropertyName("text")]
public string Text { get; set; }

Property Value

string