(
lease: DeviceLease,
req: DaemonRequest | undefined,
)
| 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, |
no test coverage detected