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