MCPcopy
hub / github.com/mobile-next/mobile-mcp / pressButton

Method pressButton

src/iphone-simulator.ts:264–267  ·  view source on GitHub ↗
(button: Button)

Source from the content-addressed store, hash-verified

262 }
263
264 public async pressButton(button: Button) {
265 const wda = await this.wda();
266 return wda.pressButton(button);
267 }
268
269 public async getElementsOnScreen(): Promise<ScreenElement[]> {
270 const wda = await this.wda();

Callers

nothing calls this directly

Calls 2

wdaMethod · 0.95
pressButtonMethod · 0.65

Tested by

no test coverage detected