Skip to content

TouchInputInterfaceTapMessage

HTTP API schema

← HTTP API reference

Tap the device screen once, as a finger would. x and y are fractions of the screen as seen in the device's snapshot: 0,0 is the top-left corner and 1,1 the bottom-right, so a point found in a snapshot image of any size maps straight onto the screen.

TouchInputInterfaceTapMessage fields

xnumberRequired

Horizontal position as a fraction of the screen width in the device's snapshot, from 0 (left edge) to 1 (right edge).

minimum: 0

maximum: 1

ynumberRequired

Vertical position as a fraction of the screen height in the device's snapshot, from 0 (top edge) to 1 (bottom edge).

minimum: 0

maximum: 1

View source specification ↗