AccessibilityTree.find().
AriaRole is exposed to JS as a numeric enum, so the usual
TypeScript reverse-mapping trick (AriaRole[role]) does not
work; use this function instead.
Parameters
AriaRole
required
Returns
stringAccessibilityTree.find().
AriaRole is exposed to JS as a numeric enum, so the usual
TypeScript reverse-mapping trick (AriaRole[role]) does not
work; use this function instead.
string