1 | // Type definitions for chromedriver 81.0
|
2 | // Project: https://github.com/giggio/node-chromedriver
|
3 | // Definitions by: Peter Safranek <https://github.com/pe8ter>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /// <reference types="node" />
|
7 |
|
8 | import { ChildProcess } from "child_process";
|
9 |
|
10 | export const path: string;
|
11 | export const version: string;
|
12 |
|
13 | export function start(args: ReadonlyArray<string> | null | undefined, returnPromise: true): Promise<ChildProcess>;
|
14 | export function start(args?: ReadonlyArray<string>, returnPromise?: false): ChildProcess;
|
15 |
|
16 | export function stop(): void;
|
17 |
|
18 | export const defaultInstance: ChildProcess | undefined;
|