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

Method getScreenshot

src/iphone-simulator.ts:93–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91 }
92
93 public async getScreenshot(): Promise<Buffer> {
94 const wda = await this.wda();
95 return await wda.getScreenshot();
96 // alternative: return this.simctl("io", this.simulatorUuid, "screenshot", "-");
97 }
98
99 public async openUrl(url: string) {
100 const wda = await this.wda();

Callers

nothing calls this directly

Calls 2

wdaMethod · 0.95
getScreenshotMethod · 0.65

Tested by

no test coverage detected