UNPKG

@web/test-runner-webdriver

Version:
35 lines 1.31 kB
/// <reference types="node" /> import { TestRunnerCoreConfig } from '@web/test-runner-core'; import { Browser } from 'webdriverio'; /** * Manages tests to be executed in iframes on a page. */ export declare class IFrameManager { private config; private driver; private framePerSession; private inactiveFrames; private frameCount; private initialized; private initializePromise?; private locked?; private isIE; constructor(config: TestRunnerCoreConfig, driver: Browser, isIE: boolean); private _initialize; isActive(id: string): boolean; getBrowserUrl(sessionId: string): Promise<string | undefined>; private getFrameId; private scheduleCommand; queueStartSession(id: string, url: string): Promise<void>; private startSession; queueStopSession(id: string): Promise<{ testCoverage: import("istanbul-lib-coverage").CoverageMapData | undefined; }>; stopSession(id: string): Promise<{ testCoverage: import("istanbul-lib-coverage").CoverageMapData | undefined; }>; sendKeys(sessionId: string, keys: string[]): Promise<void>; performActions(_: string, _actions: object[]): Promise<void>; takeScreenshot(sessionId: string, locator: string): Promise<Buffer>; } //# sourceMappingURL=IFrameManager.d.ts.map