# @types/selenium-standalone

> TypeScript definitions for selenium-standalone

Latest version **7.0.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/selenium-standalone
pnpm add @types/selenium-standalone
yarn add @types/selenium-standalone
bun add @types/selenium-standalone
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 7.0.4 |
| Published | 2023-11-07 |
| First published | 2018-06-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/selenium-standalone
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selenium-standalone
- npm.io page: https://npm.io/package/@types/selenium-standalone

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 7.0.4 (latest) — 2023-11-07
- 7.0.1 (ts3.6) — 2021-07-06
- 6.15.2 (ts3.2) — 2020-09-21
- 6.15.1 (ts3.0) — 2020-05-15
- 6.15.0 (ts2.0) — 2018-06-20
- 7.0.3 — 2023-10-18
- 7.0.2 — 2023-09-25
- 7.0.0 — 2021-06-20

## README

# Installation
> `npm install --save @types/selenium-standalone`

# Summary
This package contains type definitions for selenium-standalone (https://github.com/vvo/selenium-standalone).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selenium-standalone.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selenium-standalone/index.d.ts)
````ts
/// <reference types="node" />

import { ChildProcess, SpawnOptions } from "child_process";
import * as http from "http";
import { URL } from "url";

export function install(opts?: InstallOpts): Promise<void>;

export function start(opts?: StartOpts): Promise<ChildProcess>;

export interface InstallOpts {
    baseURL?: string | undefined;
    basePath?: string | undefined;
    version?: string | undefined;
    drivers?: {
        [browser: string]: DriverOptions;
    } | undefined;
    progressCb?: ((totalLength: number, progressLength: number, chunkLength: number) => void) | undefined;
    logger?: ((message: string) => void) | undefined;
    requestOpts?: http.RequestOptions | string | URL | undefined;
}

export interface StartOpts {
    basePath?: string | undefined;
    version?: string | undefined;
    drivers?: {
        [browser: string]: DriverOptions;
    } | undefined;
    seleniumArgs?: string[] | undefined;
    javaArgs?: string[] | undefined;
    spawnOptions?: SpawnOptions | undefined;
    javaPath?: string | undefined;
    requestOpts?: http.RequestOptions | string | URL | undefined;
}

export interface DriverOptions {
    version?: string | undefined;
    arch?: string | "ia32" | "x64" | undefined;
    baseURL?: string | undefined;
}

export interface FsPaths {
    [x: string]: any;
    chrome?: {
        [x: string]: any;
        installPath: string;
    } | undefined;
    ie?: {
        [x: string]: any;
        installPath: string;
    } | undefined;
    edge?: {
        [x: string]: any;
        installPath: string;
    } | undefined;
    firefox?: {
        [x: string]: any;
        installPath: string;
    } | undefined;
    selenium?: {
        [x: string]: any;
        installPath: string;
    } | undefined;
}

export { ChildProcess, SpawnOptions } from "child_process";

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Sander de Waal](https://github.com/SanderDeWaal1992), and [Mykola Grybyk](https://github.com/mgrybyk).

---
_Source: https://npm.io/package/@types/selenium-standalone · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
