What is Replay?

Replay is a tool that lets you record your web app and retroactively inspect it using print statements and browser DevTools. It’s a browser that you’ll open whenever you want to debug your application. It creates recordings that capture everything that happens in the browser, like clicks, interactions, network requests and so on.

Recordings created with Replay allow you to travel back in time to any state of your application and then add breakpoints and console.log() to any place in your code. This allows you to debug as if your application is running locally.

Why use Replay.io?

Typically, you would use Replay to debug, or better understand your app. The journey with Replay.io would have three chapters:

1. Create a recording

You can create a recording manually:

record-replay.mp4

or by integrating Replay.io to your Test Suite:

# cypress
npx cypress run --browser replay-chromium
# playwright
npx playwright test --project replay-chromium

2. Replay the recording and debug your app

record-dashboard.mp4

3. Fix the bug or get help

With a better understanding of data flows, state changes and other processes in your app, you can now fix your bug. Or even better, send a recording to your colleague to debug together.

share.mp4

Common use cases