creevey
Version:
creevey is a tool for automated visual testing, that tightly integrated with storybook
11 lines (10 loc) • 396 B
TypeScript
import { Context } from 'mocha';
import { WebDriver } from 'selenium-webdriver';
import { Config, BrowserConfig } from './types';
declare global {
interface Window {
__CREEVEY_RESTORE_SCROLL__?: () => void;
}
}
export declare function getBrowser(config: Config, browserConfig: BrowserConfig): Promise<WebDriver>;
export declare function switchStory(this: Context): Promise<void>;