testplane
Version:
Tests framework based on mocha and wdio
15 lines (14 loc) • 711 B
TypeScript
import { StorageData } from "./dumpStorage";
import { DEVTOOLS_PROTOCOL, WEBDRIVER_PROTOCOL } from "../../../constants/config";
import { ExistingBrowser } from "../../existing-browser";
import { Cookie } from "../../../types";
import type { Browser } from "../../types";
export type FrameData = StorageData;
export type SaveStateData = {
cookies?: Array<Cookie>;
framesData: Record<string, FrameData>;
};
export declare const getOverridesProtocol: (browser: Browser) => typeof WEBDRIVER_PROTOCOL | typeof DEVTOOLS_PROTOCOL;
export declare const getWebdriverFrames: (session: WebdriverIO.Browser) => Promise<string[]>;
declare const _default: (browser: ExistingBrowser) => void;
export default _default;