Table of Contents

Class CSSPositionTryRule

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

CSS @position-try rule representation.

public sealed class CSSPositionTryRule
Inheritance
CSSPositionTryRule
Inherited Members

Properties

Active

active

[JsonPropertyName("active")]
public bool Active { get; set; }

Property Value

bool

Name

The prelude dashed-ident name

[JsonPropertyName("name")]
public Value Name { get; set; }

Property Value

Value

Origin

Parent stylesheet's origin.

[JsonPropertyName("origin")]
public StyleSheetOrigin Origin { get; set; }

Property Value

StyleSheetOrigin

Style

Associated style declaration.

[JsonPropertyName("style")]
public CSSStyle Style { get; set; }

Property Value

CSSStyle

StyleSheetId

The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.

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

Property Value

string