Table of Contents

Class GetElementByRelationCommandSettings

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

Returns the NodeId of the matched element according to certain relations.

public sealed class GetElementByRelationCommandSettings : ICommand
Inheritance
GetElementByRelationCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

NodeId

Id of the node from which to query the relation.

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

Property Value

long

Relation

Type of relation to get.

[JsonPropertyName("relation")]
public string Relation { get; set; }

Property Value

string