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

Method prepareSession

src/cloud-webdriver/runtime.ts:307–315  ·  view source on GitHub ↗
(
    lease: DeviceLease,
    req: DaemonRequest | undefined,
  )

Source from the content-addressed store, hash-verified

305 }
306
307 private async prepareSession(
308 lease: DeviceLease,
309 req: DaemonRequest | undefined,
310 ): Promise<CloudWebDriverPreparedSession> {
311 const base = this.baseSessionForLease(lease);
312 return this.options.prepareSession
313 ? await this.options.prepareSession({ lease, req, base })
314 : base;
315 }
316
317 private capabilitiesForPlatform(
318 platform: CloudWebDriverPlatform,

Callers 1

allocateMethod · 0.95

Calls 1

baseSessionForLeaseMethod · 0.95

Tested by

no test coverage detected