Table of Contents

Class ForcePseudoStateCommandSettings

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

Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser.

public sealed class ForcePseudoStateCommandSettings : ICommand
Inheritance
ForcePseudoStateCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

ForcedPseudoClasses

Element pseudo classes to force when computing the element's style.

[JsonPropertyName("forcedPseudoClasses")]
public string[] ForcedPseudoClasses { get; set; }

Property Value

string[]

NodeId

The element id for which to force the pseudo state.

[JsonPropertyName("nodeId")]
public long NodeId { get; set; }

Property Value

long