1 |
|
2 | import * as q from 'q';
|
3 | import { promise as wdpromise, WebDriver } from 'selenium-webdriver';
|
4 | import { Config } from '../config';
|
5 | import { DriverProvider } from './driverProvider';
|
6 | export declare class AttachSession 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 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | getNewDriver(): WebDriver;
|
21 | |
22 |
|
23 |
|
24 |
|
25 |
|
26 | quitDriver(): wdpromise.Promise<void>;
|
27 | }
|