gesture-tap
Tap a device screen at normalized coordinates (0-1) for iOS, Android, or Chromium. Supports single tap and double-tap gestures.
Instructions
Press the device screen (iOS simulator, Android emulator, or Chromium app) at normalized coordinates: x and y are fractions of screen width and height in 0.0–1.0 (not pixels).
Sends a Down event followed by an Up event at the same point. For Chromium, this dispatches a CDP mouse-press/release on the renderer.
Set clickCount: 2 for a double-tap / double-click — the taps are dispatched as one gesture with proper click counting, which two separate tap calls cannot guarantee.
Use when you need to tap a button, link, or any tappable element on the screen.
Returns { tapped: true, timestampMs }. Fails if the simulator-server / emulator backend / Chromium CDP is not reachable for the given device.
Before tapping, determine the correct coordinates by using discovery tools — pick by platform: iOS / Android use describe, native-describe-screen, or debugger-component-tree; Chromium uses describe (the DOM walker), since the native and RN-specific discovery tools don't apply. More information in argent-device-interact skill
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Normalized horizontal position 0.0–1.0 (left=0, right=1), not pixels | |
| y | Yes | Normalized vertical position 0.0–1.0 (top=0, bottom=1), not pixels | |
| udid | Yes | Target device id from `list-devices` (iOS UDID, Android serial, or Chromium id). | |
| clickCount | No | Number of taps/clicks dispatched as ONE multi-tap gesture (2 = double-tap / double-click). The taps land inside the OS double-tap window; on Chromium each click carries an escalating CDP clickCount so dblclick actually fires. Default 1. |