UNPKG

663 BTypeScriptView Raw
1/// <reference types="q" />
2import * as q from 'q';
3import { WebDriver } from 'selenium-webdriver';
4import { Config } from '../config';
5import { DriverProvider } from './driverProvider';
6export declare class Direct extends DriverProvider {
7 constructor(config: Config);
8 /**
9 * Configure and launch (if applicable) the object's environment.
10 * @return {q.promise} A promise which will resolve when the environment is
11 * ready to test.
12 */
13 protected setupDriverEnv(): q.Promise<any>;
14 /**
15 * Create a new driver.
16 *
17 * @public
18 * @override
19 * @return webdriver instance
20 */
21 getNewDriver(): WebDriver;
22}