Table of Contents

Class CSSPropertyRule

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

CSS property at-rule representation.

public sealed class CSSPropertyRule
Inheritance
CSSPropertyRule
Inherited Members

Properties

Origin

Parent stylesheet's origin.

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

Property Value

StyleSheetOrigin

PropertyName

Associated property name.

[JsonPropertyName("propertyName")]
public Value PropertyName { get; set; }

Property Value

Value

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