Table of Contents

Class StyleDeclarationEdit

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

A descriptor of operation to mutate style declaration text.

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

Constructors

StyleDeclarationEdit(StyleSheetId, SourceRange, string)

A descriptor of operation to mutate style declaration text.

public StyleDeclarationEdit(StyleSheetId StyleSheetId, SourceRange Range, string Text)

Parameters

StyleSheetId StyleSheetId

The css style sheet identifier.

Range SourceRange

The range of the style text in the enclosing stylesheet.

Text string

New style text.

Properties

Range

The range of the style text in the enclosing stylesheet.

public SourceRange Range { get; init; }

Property Value

SourceRange

StyleSheetId

The css style sheet identifier.

public StyleSheetId StyleSheetId { get; init; }

Property Value

StyleSheetId

Text

New style text.

public string Text { get; init; }

Property Value

string