Table of Contents

Class MediaQueryExpression

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

Media query expression descriptor.

public sealed class MediaQueryExpression
Inheritance
MediaQueryExpression
Inherited Members

Properties

ComputedLength

Computed length of media query expression (if applicable).

[JsonPropertyName("computedLength")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? ComputedLength { get; set; }

Property Value

double?

Feature

Media query expression feature.

[JsonPropertyName("feature")]
public string Feature { get; set; }

Property Value

string

Unit

Media query expression units.

[JsonPropertyName("unit")]
public string Unit { get; set; }

Property Value

string

Value

Media query expression value.

[JsonPropertyName("value")]
public double Value { get; set; }

Property Value

double

ValueRange

The associated range of the value text in the enclosing stylesheet (if available).

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

Property Value

SourceRange