1 | # Installation
|
2 | > `npm install --save @types/chromedriver`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for chromedriver (https://github.com/giggio/node-chromedriver).
|
6 |
|
7 | # Details
|
8 | Files 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 |
|
18 | import { ChildProcess } from 'child_process';
|
19 |
|
20 | export const path: string;
|
21 | export const version: string;
|
22 |
|
23 | export function start(args: ReadonlyArray<string> | null | undefined, returnPromise: true): Promise<ChildProcess>;
|
24 | export function start(args?: ReadonlyArray<string>, returnPromise?: false): ChildProcess;
|
25 |
|
26 | export function stop(): void;
|
27 |
|
28 | export 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
|
38 | These definitions were written by [Peter Safranek](https://github.com/pe8ter).
|
39 |
|
\ | No newline at end of file |