import { WebDriver } from 'selenium-webdriver'; import * as http from 'selenium-webdriver/http'; import { Config } from '../config'; import { DriverProvider } from './driverProvider'; export declare class MockExecutor extends http.Executor { constructor(client?: http.HttpClient | Promise); execute(_: any): any; } export declare class Mock extends DriverProvider { constructor(config?: Config); /** * An execute function that returns a promise with a test value. */ execute(): Promise; /** * Configure and launch (if applicable) the object's environment. * @public * @return {Promise} A promise which will resolve immediately. */ protected setupDriverEnv(): Promise; /** * Create a new driver. * * @public * @override * @return webdriver instance */ getNewDriver(): Promise; }