UNPKG

1.09 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/// <reference types="node" />
12
13import { ChildProcess } from "child_process";
14
15export const path: string;
16export const version: string;
17
18export function start(args: readonly string[] | null | undefined, returnPromise: true): Promise<ChildProcess>;
19export function start(args?: readonly string[], returnPromise?: false): ChildProcess;
20
21export function stop(): void;
22
23export const defaultInstance: ChildProcess | undefined;
24
25````
26
27### Additional Details
28 * Last updated: Mon, 20 Nov 2023 23:36:23 GMT
29 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
30
31# Credits
32These definitions were written by [Peter Safranek](https://github.com/pe8ter).
33
\No newline at end of file