MCPcopy Index your code
hub / github.com/callstack/agent-device / pressAndroid

Function pressAndroid

src/platforms/android/input-actions.ts:18–20  ·  view source on GitHub ↗
(device: DeviceInfo, x: number, y: number)

Source from the content-addressed store, hash-verified

16export { readAndroidTextAtPoint } from './fill-verification.ts';
17
18export async function pressAndroid(device: DeviceInfo, x: number, y: number): Promise<void> {
19 await runAndroidAdb(device, ['shell', 'input', 'tap', String(x), String(y)]);
20}
21
22export async function swipeAndroid(
23 device: DeviceInfo,

Callers 3

createAndroidInteractorFunction · 0.90
handleAndroidAlertActionFunction · 0.90
focusAndroidFunction · 0.85

Calls 1

runAndroidAdbFunction · 0.90

Tested by

no test coverage detected