# selenium-side-runner

> Run Selenium IDE projects in cli

Latest version **4.1.0-beta.3** (published 2026-11-06) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install selenium-side-runner
pnpm add selenium-side-runner
yarn add selenium-side-runner
bun add selenium-side-runner
```

Provides the command `selenium-side-runner`.

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 4.1.0-beta.3 |
| Published | 2026-11-06 |
| First published | 2018-01-09 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^22.23.4 \|\| ^24.22.1 \|\| >=26.12.1 |
| Dependencies | 12 |
| Unpacked size | 127.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3116 |
| Maintainers | diemol, corevo, tourdedave |
| Keywords | selenium, command, line |

## Links

- npm: https://www.npmjs.com/package/selenium-side-runner
- Repository: https://github.com/SeleniumHQ/selenium-ide
- npm.io page: https://npm.io/package/selenium-side-runner

## Dependencies (12)

- [glob](https://npm.io/package/glob.md) ^14.0.3
- [jest](https://npm.io/package/jest.md) ^30.5.2
- [lodash](https://npm.io/package/lodash.md) ^4.18.1
- [semver](https://npm.io/package/semver.md) ^7.8.6
- [js-yaml](https://npm.io/package/js-yaml.md) ^5.5.0
- [winston](https://npm.io/package/winston.md) ^3.19.0
- [jest-cli](https://npm.io/package/jest-cli.md) ^30.5.2
- [commander](https://npm.io/package/commander.md) ^15.0.0
- [jest-each](https://npm.io/package/jest-each.md) ^30.5.2
- [resolve-bin](https://npm.io/package/resolve-bin.md) ^1.0.1
- [@seleniumhq/side-model](https://npm.io/package/@seleniumhq/side-model.md) 4.1.0-beta.3
- [@seleniumhq/side-runtime](https://npm.io/package/@seleniumhq/side-runtime.md) 4.1.0-beta.3

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 4.1.0-beta.3 (latest) — 2026-11-06
- 4.1.0-beta.2 (beta) — 2026-11-03
- 4.1.0-beta.1 — 2026-11-03
- 4.0.13 — 2024-11-22
- 4.0.12 — 2024-07-16
- 4.0.11 — 2024-06-29
- 4.0.10 — 2024-06-20
- 4.0.8 — 2024-05-08
- 4.0.6 — 2024-05-06
- 4.0.5 — 2024-04-12
- 4.0.4 — 2024-04-03
- 4.0.3 — 2024-04-03
- 4.0.2 — 2024-03-27
- 4.0.1 — 2024-03-10
- 4.0.0-alpha.71 — 2024-02-14
- … 103 more at https://npm.io/package/selenium-side-runner/versions

## README

# Selenium SIDE Runner

Runs exported Selenium IDE tests in command line

## Installation

The Selenium side-runner needs Node.js 22 (22.23.4 or later), 24 (24.22.1 or later), or 26.12.1 or later (the versions selenium-webdriver supports).

```yarn global add selenium-side-runner```  
or  
```npm install -g selenium-side-runner```  

## Usage

```selenium-side-runner project.side project2.side *.side```

### Passing capabilities

```selenium-side-runner -c "browserName=chrome platform=MAC"```

#### Passing nested capabilities

```selenium-side-runner -c "goog:chromeOptions.binary='/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'"```

#### Chrome specific list capabilities (headless)

```selenium-side-runner -c "goog:chromeOptions.args=[disable-infobars, headless]"```

### Running on remote WebDriver server

```selenium-side-runner --server http://localhost:4444/wd/hub```

### Filter tests

Will only run tests matching the filter
```selenium-side-runner --filter mytest```

### Pick a test from a list

Lists the tests in the projects and asks which one to run. It needs a terminal, so don't use it in CI.
```selenium-side-runner --interactive my-project.side```

### Print each step

Prints each command as it finishes, with ✓ (passed), ✕ (failed), ○ (undetermined) or - (skipped). A failed command also shows its error.
```selenium-side-runner --steps my-project.side```

### Changing the base URL

Change the base URL that the tests were recorded with, note that it will not affect tests that used absolute URLs.
```selenium-side-runner --base-url https://www.seleniumhq.org```

### .side.yml

All of the configuration can be written in the `.side.yml` file, the runner will load it from the current working directory automatically.

#### Example usage

```yaml
capabilities:
  browserName: "firefox"
baseUrl: "https://www.seleniumhq.org"
server: "http://localhost:4444/wd/hub"
```

### Advanced features

#### Running on multiple workers

Running tests faster through the use of multiple workers  
```selenium-side-runner -w 4```  
The runner will automatically set the number of workers to the amount of cores available, for most cases this is the best result.  
__Note:__ unless you specified that a suite is parallel, it will still run the contained tests sequentially, though the runner will run suites in parallel by default.  
To mark a suite's tests as parallel, set that in the suite's settings in the IDE.

#### Using a proxy server

`selenium-side-runner` can pass proxy capabilities to the browser using the following schemes.

##### direct proxy  

Configures WebDriver to bypass all browser proxies.  
```selenium-side-runner --proxy-type=direct```

```yaml
proxyType: direct
```

##### manual proxy

Manually configures the browser proxy.  
```selenium-side-runner --proxy-type=manual --proxy-options="http=localhost:434 bypass=[http://localhost:434, http://localhost:8080]"```

```yaml
proxyType: manual
proxyOptions:
  http: http://localhost:434
  https: http://localhost:434
  ftp: http://localhost:434
  bypass:
    - http://localhost:8080
    - http://host:434
    - http://somethingelse:32
```

##### pac proxy

Configures WebDriver to configure the browser proxy using the PAC file at the given URL.  
```selenium-side-runner --proxy-type=pac --proxy-options="http://localhost/pac"```

```yaml
proxyType: pac
proxyOptions: http://localhost/pac
```

##### socks proxy

Creates a proxy configuration for a socks proxy.  
```selenium-side-runner --proxy-type=socks --proxy-options="socksProxy=localhost:434 socksVersion=5"```

```yaml
proxyType: socks
proxyOptions:
  socksProxy: localhost:434
  socksVersion: 5
```

##### system proxy  

Configures WebDriver to use the current system's proxy.  
```selenium-side-runner --proxy-type=system```

```yaml
proxyType: system
```

### FAQ

#### I'm getting an error similar to `Unknown locator ${vars.something}`

When running your projects make sure that the command is aware of the locator strategy __before__ variables are evaluated.  
For example `click | id=${myButton}` vs `click | ${idOfMyButton}`.  
Always use the first one, since the strategy is hardcoded in the command, the second would yield an error.

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