Installing dependencies

The Replay package for your test runner (@replayio/cypress or @replayio/playwright) and the Replay Browsers must be installed in your CI environment before the tests execute.

Test Runners

If your workflow has an existing npm ci or yarn command to install project dependencies, then you are all set. If not, you’ll need to add a step to install all dependencies, or you can manually install the Replay package directly.
npm i @replayio/cypress or npm i @replayio/playwright

Replay Browsers

By default, installing the test runner package will also install the Replay Browsers. However, if you have a setting to suppress browser installations during npm ci or yarn, you’ll need to manually install the Replay Browsers in your workflow using:
npx @replayio/cypress install or npx @replayio/playwright install