pub struct QueryAxTreeParams {
pub node_id: Option<NodeId>,
pub backend_node_id: Option<BackendNodeId>,
pub object_id: Option<RemoteObjectId>,
pub accessible_name: Option<String>,
pub role: Option<String>,
}Expand description
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.
Experimental: may change without notice.
Parameters of Accessibility.queryAXTree.
Fields§
§node_id: Option<NodeId>Identifier of the node for the root to query.
backend_node_id: Option<BackendNodeId>Identifier of the backend node for the root to query.
object_id: Option<RemoteObjectId>JavaScript object id of the node wrapper for the root to query.
accessible_name: Option<String>Find nodes with this computed name.
role: Option<String>Find nodes with this computed role.