UNPKG

658 BTypeScriptView Raw
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
8import { ChildProcess } from "child_process";
9
10export const path: string;
11export const version: string;
12
13export function start(args: ReadonlyArray<string> | null | undefined, returnPromise: true): Promise<ChildProcess>;
14export function start(args?: ReadonlyArray<string>, returnPromise?: false): ChildProcess;
15
16export function stop(): void;
17
18export const defaultInstance: ChildProcess | undefined;