v1

latestOpenAPI 3.0.02026-07-17331930.1 KB

Finds *all* objects that match the selector criteria.

Finds an object. The object found, if any, can be later used in other call like API.click.

get/uiDevice/findObjects

Query parameters

bySelectorstring

the selector sets the resource name criteria for matching. A UI element will be considered a match if its resource name exactly matches the selector parameter and all other criteria for this selector are met. The format of the selector string is sel@[$]value,... Where sel can be one of - checkable - clazz - clickable - depth - desc - package - res - scrollable - text @ replaces the = sign that is used to separate parameters and values in the URL. If the first character of value is $ then a Pattern is created.

Response

Objects found

oidinteger required
classNamestring