1 | import type { Capabilities } from '@wdio/types';
|
2 | import command from './command.js';
|
3 | import { DEFAULTS } from './constants.js';
|
4 | import { getPrototype, getEnvironmentVars, initiateBidi, parseBidiMessage } from './utils.js';
|
5 | import type { Client, AttachOptions } from './types.js';
|
6 | export default class WebDriver {
|
7 | static newSession(options: Capabilities.RemoteConfig, modifier?: (...args: any[]) => any, userPrototype?: {}, customCommandWrapper?: (...args: any[]) => any): Promise<Client>;
|
8 | |
9 |
|
10 |
|
11 | static attachToSession(options?: AttachOptions, modifier?: (...args: any[]) => any, userPrototype?: {}, commandWrapper?: (...args: any[]) => any): Client;
|
12 | |
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | static reloadSession(instance: Client, newCapabilities?: WebdriverIO.Capabilities): Promise<string>;
|
20 | static get WebDriver(): typeof WebDriver;
|
21 | }
|
22 |
|
23 |
|
24 |
|
25 | export { getPrototype, DEFAULTS, command, getEnvironmentVars, initiateBidi, parseBidiMessage };
|
26 | export * from './types.js';
|
27 | export * from './constants.js';
|
28 | export * from './bidi/handler.js';
|
29 | export * as local from './bidi/localTypes.js';
|
30 | export * as remote from './bidi/remoteTypes.js';
|
31 |
|
\ | No newline at end of file |