1 |
|
2 | import * as q from 'q';
|
3 | import { WebDriver } from 'selenium-webdriver';
|
4 | import { Config } from '../config';
|
5 | import { DriverProvider } from './driverProvider';
|
6 | export declare class MockExecutor {
|
7 | execute(command: any): any;
|
8 | }
|
9 | export declare class Mock extends DriverProvider {
|
10 | constructor(config?: Config);
|
11 | /**
|
12 | * An execute function that returns a promise with a test value.
|
13 | */
|
14 | execute(): q.Promise<any>;
|
15 | /**
|
16 | * Configure and launch (if applicable) the object's environment.
|
17 | * @public
|
18 | * @return {q.promise} A promise which will resolve immediately.
|
19 | */
|
20 | protected setupDriverEnv(): q.Promise<any>;
|
21 | |
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | getNewDriver(): WebDriver;
|
29 | }
|