Table of Contents

Class QueryAXTreeCommandSettings

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

Query a DOM node's accessibility subtree for accessible name and role. This command computes the name and role for all nodes in the subtree, including those that are ignored for accessibility, and returns those that match the specified name and role. If no DOM node is specified, or the DOM node does not exist, the command returns an error. If neither accessibleName or role is specified, it returns all the accessibility nodes in the subtree.

public sealed class QueryAXTreeCommandSettings : ICommand
Inheritance
QueryAXTreeCommandSettings
Implements
Inherited Members

Properties

AccessibleName

Find nodes with this computed name.

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

Property Value

string

BackendNodeId

Identifier of the backend node for the root to query.

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

Property Value

long?

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

NodeId

Identifier of the node for the root to query.

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

Property Value

long?

ObjectId

JavaScript object id of the node wrapper for the root to query.

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

Property Value

string

Role

Find nodes with this computed role.

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

Property Value

string