MCPcopy Create free account
hub / github.com/appium/appium / setFakeSessionData

Method setFakeSessionData

packages/fake-plugin/lib/plugin.ts:224–228  ·  view source on GitHub ↗
(_next: () => Promise<unknown>, driver: DriverLike, ...args: unknown[])

Source from the content-addressed store, hash-verified

222 }
223
224 async setFakeSessionData(_next: () => Promise<unknown>, driver: DriverLike, ...args: unknown[]): Promise<null> {
225 await sleep(1);
226 driver.fakeSessionData = args[0];
227 return null;
228 }
229
230 async getWindowHandle(next: () => Promise<string>): Promise<string> {
231 const handle = await next();

Callers 1

plugin.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected