UNPKG

784 BTypeScriptView Raw
1// Type definitions for gulp-protractor v4.1.1
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
8import gulp = require('gulp');
9
10interface IOptions {
11 configFile?: string | undefined;
12 args?: Array<string> | undefined;
13 debug?: boolean | undefined;
14}
15
16interface IGulpProtractor {
17 getProtractorDir(): string;
18 getProtractorCli(): string;
19 protractor(options?: IOptions): NodeJS.ReadWriteStream;
20 webdriver_update_specific: gulp.TaskCallback;
21 webdriver_standalone: gulp.TaskCallback;
22 webdriver_update: gulp.TaskCallback;
23}
24
25declare var protractor: IGulpProtractor;
26export = protractor;