Table of Contents

Class SetStyleTextsCommandSettings

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

Applies specified style edits one after another in the given order.

public sealed class SetStyleTextsCommandSettings : ICommand
Inheritance
SetStyleTextsCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Edits

Gets or sets the edits

[JsonPropertyName("edits")]
public StyleDeclarationEdit[] Edits { get; set; }

Property Value

StyleDeclarationEdit[]

NodeForPropertySyntaxValidation

NodeId for the DOM node in whose context custom property declarations for registered properties should be validated. If omitted, declarations in the new rule text can only be validated statically, which may produce incorrect results if the declaration contains a var() for example.

[JsonPropertyName("nodeForPropertySyntaxValidation")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? NodeForPropertySyntaxValidation { get; set; }

Property Value

long?