Table of Contents

Class AXNode

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

A node in the accessibility tree.

public sealed class AXNode
Inheritance
AXNode
Inherited Members

Properties

BackendDOMNodeId

The backend ID for the associated DOM node, if any.

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

Property Value

long?

ChildIds

IDs for each of this node's child nodes.

[JsonPropertyName("childIds")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string[]? ChildIds { get; set; }

Property Value

string[]

ChromeRole

This Node's Chrome raw role.

[JsonPropertyName("chromeRole")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXValue? ChromeRole { get; set; }

Property Value

AXValue

Description

The accessible description for this Node.

[JsonPropertyName("description")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXValue? Description { get; set; }

Property Value

AXValue

FrameId

The frame ID for the frame associated with this nodes document.

[JsonPropertyName("frameId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? FrameId { get; set; }

Property Value

string

Ignored

Whether this node is ignored for accessibility

[JsonPropertyName("ignored")]
public bool Ignored { get; set; }

Property Value

bool

IgnoredReasons

Collection of reasons why this node is hidden.

[JsonPropertyName("ignoredReasons")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXProperty[]? IgnoredReasons { get; set; }

Property Value

AXProperty[]

Name

The accessible name for this Node.

[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXValue? Name { get; set; }

Property Value

AXValue

NodeId

Unique identifier for this node.

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

Property Value

string

ParentId

ID for this node's parent.

[JsonPropertyName("parentId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ParentId { get; set; }

Property Value

string

Properties

All other properties

[JsonPropertyName("properties")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXProperty[]? Properties { get; set; }

Property Value

AXProperty[]

Role

This Node's role, whether explicit or implicit.

[JsonPropertyName("role")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXValue? Role { get; set; }

Property Value

AXValue

Value

The value for this Node.

[JsonPropertyName("value")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXValue? Value { get; set; }

Property Value

AXValue