1 | // Type definitions for gulp-protractor v1.0.0
|
2 | // Project: https://github.com/mllrsohn/gulp-protractor
|
3 | // Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /// <reference types="node" />
|
7 |
|
8 | import gulp = require('gulp');
|
9 |
|
10 | interface IOptions {
|
11 | configFile?: string | undefined;
|
12 | args?: Array<string> | undefined;
|
13 | debug?: boolean | undefined;
|
14 | }
|
15 |
|
16 | interface IGulpProtractor {
|
17 | getProtractorDir(): string;
|
18 | protractor(options?: IOptions): NodeJS.ReadWriteStream;
|
19 | webdriver_standalone: gulp.TaskCallback;
|
20 | webdriver_update: gulp.TaskCallback;
|
21 | }
|
22 |
|
23 | declare var protractor: IGulpProtractor;
|
24 | export = protractor;
|