UNPKG

appwright

Version:

E2E mobile app testing done right, with the Playwright test runner

26 lines 928 B
import { AppwrightConfig, DeviceProvider } from "../../types"; import { FullProject } from "@playwright/test"; import { Device } from "../../device"; export declare class BrowserStackDeviceProvider implements DeviceProvider { private sessionDetails?; sessionId?: string; private project; constructor(project: FullProject<AppwrightConfig>, appBundleId: string | undefined); globalSetup(): Promise<void>; getDevice(): Promise<Device>; private validateConfig; private createDriver; private getSessionDetails; private getAppBundleIdFromSession; static downloadVideo(sessionId: string, outputDir: string, fileName: string): Promise<{ path: string; contentType: string; } | null>; syncTestDetails(details: { status?: string; reason?: string; name?: string; }): Promise<any>; private createConfig; } //# sourceMappingURL=index.d.ts.map