Skip to main content

Click Mobile Image

Command description

Locate and click an image on the mobile screen.

Command Input Parameters

input parametersInput parameter typeDescription
Mobile Device ObjectPhoneConnected mobile object
Image NamestrName assigned when the image was captured
Click MethodenumTap, Long Press
Click PositionenumCenter, Random
Match ModeenumAuto, Color, Grayscale
Image Wait DurationnumberMaximum time to wait for the image to appear, in seconds; an error is reported when the timeout expires

Command Output Parameters

None

Type definition reference

Matching pattern description

match patternDescription
AutoSelects an appropriate matching method automatically; recommended as the default.
ColorMatch by color and shape, suitable for icons or buttons with fixed colors and stable styles
GrayscaleIgnore color differences and compare only grayscale features. This is suitable for images with changing colors but stable outlines, such as logos.
tip

Prefer captured mobile elements when available. Image matching is more sensitive to resolution, scaling, interface theme, and screenshot quality, so it is generally less stable than element-based positioning.

tip

Enable Developer options on the mobile device, then connect it to the computer with a USB cable. See Connect Mobile Device

Runavelo 7.6.0 or later

FAQ

See Mobile Automation FAQ