Table of Contents

Class RuleUsage

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

CSS coverage information.

public sealed class RuleUsage
Inheritance
RuleUsage
Inherited Members

Properties

EndOffset

Offset of the end of the rule body from the beginning of the stylesheet.

[JsonPropertyName("endOffset")]
public double EndOffset { get; set; }

Property Value

double

StartOffset

Offset of the start of the rule (including selector) from the beginning of the stylesheet.

[JsonPropertyName("startOffset")]
public double StartOffset { get; set; }

Property Value

double

StyleSheetId

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

[JsonPropertyName("styleSheetId")]
public string StyleSheetId { get; set; }

Property Value

string

Used

Indicates whether the rule was actually used by some element in the page.

[JsonPropertyName("used")]
public bool Used { get; set; }

Property Value

bool