Table of Contents

Class GetNodesForSubtreeByStyleCommandSettings

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

Finds nodes with a given computed style in a subtree.

public sealed class GetNodesForSubtreeByStyleCommandSettings : ICommand
Inheritance
GetNodesForSubtreeByStyleCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

ComputedStyles

The style to filter nodes by (includes nodes if any of properties matches).

[JsonPropertyName("computedStyles")]
public CSSComputedStyleProperty[] ComputedStyles { get; set; }

Property Value

CSSComputedStyleProperty[]

NodeId

Node ID pointing to the root of a subtree.

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

Property Value

long

Pierce

Whether or not iframes and shadow roots in the same target should be traversed when returning the results (default is false).

[JsonPropertyName("pierce")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Pierce { get; set; }

Property Value

bool?