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

Method tap

src/cloud-webdriver/webdriver-interactor.ts:80–88  ·  view source on GitHub ↗
(x: number, y: number)

Source from the content-addressed store, hash-verified

78 }
79
80 async tap(x: number, y: number): Promise<Record<string, unknown>> {
81 this.requireSupport('tap');
82 await this.pointerGesture('tap', [
83 { type: 'pointerMove', duration: 0, x, y },
84 { type: 'pointerDown', button: 0 },
85 { type: 'pointerUp', button: 0 },
86 ]);
87 return { backend: 'webdriver', x, y };
88 }
89
90 async doubleTap(x: number, y: number): Promise<Record<string, unknown>> {
91 this.requireSupport('doubleTap');

Callers 7

focusMethod · 0.95
fillMethod · 0.95
tapCommandFunction · 0.80
createInteractionDeviceFunction · 0.80
runDirectPressSeriesFunction · 0.80
index.test.tsFile · 0.80

Calls 2

requireSupportMethod · 0.95
pointerGestureMethod · 0.95

Tested by 1

createInteractionDeviceFunction · 0.64