Click Mobile Element
Command description
Click a captured element on the mobile device.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Mobile Device Object | Phone | |
| Mobile Element | PhoneElement or str (captured element UID, not element name, not ms-rpa-id) | Select a captured mobile element or an element returned by Get Mobile Element, Get Similar Mobile Elements, or Get Related Mobile Elements |
| Click Method | enum | Single Click, Long Press |
| Click Position | enum | Random, Center |
| Element Wait Timeout | number | Maximum time to wait for the element to appear, in seconds; an error is reported when the timeout expires |
Command Output Parameters
None
Type definition reference
tip
Enable Developer options on the mobile device, then connect it to the computer with a USB cable. See Connect Mobile Device