v1

latestOpenAPI 3.0.02026-07-17331930.1 KB

Finds an object

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

get/uiDevice/findObject

Query parameters

resourceIdstring

the resource id

uiSelectorstring

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 - clazz or className - clickable - depth - desc - index - instance - package - parentIndex - 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.

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

Object found

oidinteger required
classNamestring