BASE

rrweb

rrweb

Web framework / library · Free

A DOM session recording and replay library: it helps build your own replay and user scenario diagnostics.

Also known as: rrweb-io/rrweb; web-record-replay; session-replay

Resource illustration: rrweb

Open resource ↗

What you can use for free

Code and local use under MIT.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Create a replay of a user's DOM session
  • Record a test scenario and play it in a replay interface

Example workflow

A possible workflow; this is not a report of hands-on testing.

Create a replay of a user's DOM session.

Before you start

  • Web application source code and the intended workflow.
  • The project's framework and runtime version.

Steps

  1. Choose the screen and events to record for diagnostics.
  2. Record a test scenario and play it in a replay interface.
  3. Add real data and error handling; check the production build.

Check your result

  • The workflow works after a page refresh and with invalid data.
  • The bundle, server rendering, and supported browsers suit the project.

Choosing rrweb

Create a replay of a user's DOM session

Choose this when

  • Create a replay of a user's DOM session
  • Record a test scenario and play it in a replay interface

Requirements

  • For a new project, the guide recommends @rrweb/record on the recorded page and @rrweb/replay or rrweb-player on the viewing page.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: MIT for the code; dependencies have separate licenses.
  • maskAllInputs defaults to false; password inputs are masked automatically, while other private fields require configuration.

Frequently asked questions

What can you use for free in rrweb?

Code and local use under MIT.

What additional costs might arise with rrweb?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for rrweb?

MIT for the code; dependencies have separate licenses.

How do you get started with rrweb?

Choose the screen and events to record for diagnostics. Record a test scenario and play it in a replay interface. Add real data and error handling; check the production build.

Is this a screen video or DOM reconstruction?

rrweb saves a DOM snapshot and subsequent events/mutations, then reconstructs the page for replay with the original JavaScript disabled. It is not a universal recording of every network response.

How can sensitive content be excluded?

rr-block replaces an element with an equal-sized placeholder; rr-mask masks text in the element and descendants. maskAllInputs and maskInputOptions control input fields. Configure private scenarios before recording.

License

MIT for the code; dependencies have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • rrweb
  • web
  • Development

Sources

Other resources