@types/chromedriver
Version:
TypeScript definitions for chromedriver
33 lines (22 loc) • 1.09 kB
Markdown
# Installation
> `npm install --save @types/chromedriver`
# Summary
This package contains type definitions for chromedriver (https://github.com/giggio/node-chromedriver).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chromedriver.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chromedriver/index.d.ts)
````ts
/// <reference types="node" />
import { ChildProcess } from "child_process";
export const path: string;
export const version: string;
export function start(args: readonly string[] | null | undefined, returnPromise: true): Promise<ChildProcess>;
export function start(args?: readonly string[], returnPromise?: false): ChildProcess;
export function stop(): void;
export const defaultInstance: ChildProcess | undefined;
````
### Additional Details
* Last updated: Mon, 20 Nov 2023 23:36:23 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [Peter Safranek](https://github.com/pe8ter).