UNPKG

@web/test-runner-browserstack

Version:
19 lines 938 B
import { BrowserLauncher, TestRunnerCoreConfig } from '@web/test-runner-core'; import { WebdriverLauncher } from '@web/test-runner-webdriver'; import browserstack from 'browserstack-local'; export interface BrowserstackLauncherArgs { capabilities: Record<string, unknown>; localOptions?: Partial<browserstack.Options>; } export declare class BrowserstackLauncher extends WebdriverLauncher { private capabilities; name: string; private localOptions?; constructor(capabilities: Record<string, unknown>, name: string, localOptions?: Partial<browserstack.Options> | undefined); initialize(config: TestRunnerCoreConfig): Promise<void>; startSession(sessionId: string, url: string): Promise<void>; startDebugSession(): Promise<void>; stop(): Promise<void>; } export declare function browserstackLauncher(args: BrowserstackLauncherArgs): BrowserLauncher; //# sourceMappingURL=browserstackLauncher.d.ts.map