getAXNodeAndAncestors

Fetches a node and all ancestors up to and including the root. Requires enable() to have been called previously.


suspend fun getAXNodeAndAncestors(nodeId: Int? = null, backendNodeId: Int? = null, objectId: String? = null): Accessibility.GetAXNodeAndAncestorsReturn

Fetches a node and all ancestors up to and including the root. Requires enable() to have been called previously.

Parameters

nodeId

Identifier of the node to get.

backendNodeId

Identifier of the backend node to get.

objectId

JavaScript object id of the node wrapper to get.