UNPKG

713 BTypeScriptView Raw
1/// <reference types="q" />
2import * as q from 'q';
3import { Config } from '../config';
4import { DriverProvider } from './driverProvider';
5export declare class BrowserStack extends DriverProvider {
6 constructor(config: Config);
7 /**
8 * Hook to update the BrowserStack job status.
9 * @public
10 * @param {Object} update
11 * @return {q.promise} A promise that will resolve when the update is complete.
12 */
13 updateJob(update: any): q.Promise<any>;
14 /**
15 * Configure and launch (if applicable) the object's environment.
16 * @return {q.promise} A promise which will resolve when the environment is
17 * ready to test.
18 */
19 protected setupDriverEnv(): q.Promise<any>;
20}