UNPKG

1.35 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/chromedriver`
3
4# Summary
5This package contains type definitions for chromedriver (https://github.com/giggio/node-chromedriver).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chromedriver.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chromedriver/index.d.ts)
10````ts
11// Type definitions for chromedriver 81.0
12// Project: https://github.com/giggio/node-chromedriver
13// Definitions by: Peter Safranek <https://github.com/pe8ter>
14// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15
16/// <reference types="node" />
17
18import { ChildProcess } from 'child_process';
19
20export const path: string;
21export const version: string;
22
23export function start(args: ReadonlyArray<string> | null | undefined, returnPromise: true): Promise<ChildProcess>;
24export function start(args?: ReadonlyArray<string>, returnPromise?: false): ChildProcess;
25
26export function stop(): void;
27
28export const defaultInstance: ChildProcess | undefined;
29
30````
31
32### Additional Details
33 * Last updated: Thu, 23 Dec 2021 23:34:23 GMT
34 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
35 * Global values: none
36
37# Credits
38These definitions were written by [Peter Safranek](https://github.com/pe8ter).
39
\No newline at end of file