Skip to content
SilanDocs
Main site

Tap an element ref, a query (text, identifier, role) or a point; count 2 or 3 for double or triple taps.

REST operation act (POST /v1/devices/{deviceId}/actions)
Action type tap
Needs a device yes
Read only no
Profiles core, testing, full
Name Required Type Goes to What it is
device_id yes string path deviceId Stable device id such as ios:00008120-001A2B3C4D5E6F70 or android:R58M123ABC.
lease no string header Silan-Lease Lease token when the device is claimed.
target yes object body action.target Exactly one of a point, an element ref from the latest observation, or a query.
count no 1, 2, 3 body action.count
return no object body returning
tap({ device_id: "ios:00008120-001A2B3C4D5E6F70", target: … })