@wdio/visual-service
Version:
Image comparison / visual regression testing for WebdriverIO
15 lines • 578 B
TypeScript
import type { DeviceRectangles } from 'webdriver-image-comparison';
export declare class ContextManager {
#private;
private cachedViewport;
constructor(browser: WebdriverIO.Browser);
getViewportContext(): DeviceRectangles;
setViewPortContext(viewport: DeviceRectangles): void;
get browser(): WebdriverIO.Browser;
get needsUpdate(): boolean;
markForUpdate(): void;
setCurrentContext(context: string): void;
getCurrentContext(): Promise<string | undefined>;
get isNativeContext(): boolean;
}
//# sourceMappingURL=contextManager.d.ts.map