Skip to main content

SeeTest Client - AccessibilityFocusedElement

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

Description

Return the currently highlighted element by Accessibility Inspector.

Parameters

None.

Return Value

JSON representing element properties. Example return value:

{"ElementHash":"WAMAAABy7oICAAAAEQAAAAAAAAA","Value":"0","Class":"UIAccessibilityPickerComponent","Traits":"Adjustable"}

Usage

Java example

String str = client.accessibilityFocusedElement();