UNPKG

630 BTypeScriptView Raw
1import type { Options } from '@wdio/types';
2/**
3 * create `browser` object with capabilities and environment flags before session is started
4 * so that Mocha/Jasmine users can filter their specs based on flags or use capabilities in test titles
5 */
6export default class ProtocolStub {
7 static newSession(options: Options.WebDriver): Promise<any>;
8 /**
9 * added just in case user wants to somehow reload webdriver or devtools session
10 * before it was started.
11 */
12 static reloadSession(): void;
13 static attachToSession(options: never, modifier?: Function): any;
14}
15//# sourceMappingURL=protocol-stub.d.ts.map
\No newline at end of file