Installing Replay Chrome

Replay Chrome is currently built for automated recordings with tools like Playwright and Cypress so it does not have a record button yet. If you would like to use Chrome to record a replay, you can use the replay CLI.

Dependencies

Replay Chrome should work on most modern versions of Linux, but it does require a relatively modern version of libc (v2.27+). We’ve tested Replay Chrome against the following versions of Ubuntu:
  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
Installing the replay CLI globally will add replay to your path so you can skip npx and just call replay directly

npm i -g @replayio/replay
Installing the replay CLI globally will add replay to your path so you can skip npx and just call replay directly npm i -g @replayio/replay

Launching Chrome

shell
npx @replayio/replay@latest launch https://replay.io

Viewing a replay

Replay Chrome will record every tab by default. When you want to view a replay, you can use the replay CLI to either upload the most recent recording or view the most recent recordings and upload just the one you want.
shell
RECORD_REPLAY_API_KEY=<API_Key> npx @replayio/replay@latest view-latest
or
shell
npx @replayio/replay@latest ls RECORD_REPLAY_API_KEY=<API_Key> npx @replayio/replay@latest upload <id>
You can create an API Key for either a team or your user account.

Installation troubleshooting

glibc not found

If you’re getting an error like the following:
plain text
version 'GLIBCXX_3.4.26' not found (required by /tmp/linux-chromium-20230823-2775ccebda6-2b20bc943835.so)
Try installing a more modern version of libc. For example, on Ubuntu:
bash
sudo apt-get install gcc-9 libstdc++6