Table of Contents

Class RuleMatch

Namespace
Selenium.WebDriver.BiDi.Cdp.CSS
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Match data for a CSS rule.

public sealed record RuleMatch : IEquatable<RuleMatch>
Inheritance
RuleMatch
Implements
Inherited Members

Constructors

RuleMatch(CSSRule, ImmutableArray<long>)

Match data for a CSS rule.

public RuleMatch(CSSRule Rule, ImmutableArray<long> MatchingSelectors)

Parameters

Rule CSSRule

CSS rule in the match.

MatchingSelectors ImmutableArray<long>

Matching selector indices in the rule's selectorList selectors (0-based).

Properties

MatchingSelectors

Matching selector indices in the rule's selectorList selectors (0-based).

public ImmutableArray<long> MatchingSelectors { get; init; }

Property Value

ImmutableArray<long>

Rule

CSS rule in the match.

public CSSRule Rule { get; init; }

Property Value

CSSRule