Skip to main content

tap

Function tap 

Source
pub async fn tap(host: &Host, device_id: &str, x: u32, y: u32) -> Result<()>
Expand description

Perform a tap gesture on an Android device at the specified coordinates.

Uses adb shell input tap <x> <y> to simulate a touch event.

ยงErrors

Returns an error if the tap command fails or the device is not available.