rrweb captures DOM snapshots, mutations, and user interactions in the browser, then rebuilds them for session playback in your product.
Overview
rrweb records what visitors do on web pages by serializing the DOM, tracking incremental changes, and logging interactions across one or more page loads. A separate replay path reconstructs those events so you can watch sessions afterward.
The work splits into snapshot capture and rebuilding, a recorder built on the initial snapshot, a replay engine, and an optional player UI with pause and seek controls. Optional plugins can extend capture for XHR, fetch, GraphQL, and similar traffic. TypeScript types keep recorded and replayed payloads aligned.
Teams embed the recorder in existing sites to add observability, analytics, support, bug reports, demos, or compliance-oriented audit trails. Companion cloud offerings handle storage and processing, while the core library stays embeddable without vendor branding in the SDK and player.
Compared with static screenshots, replay keeps live DOM state and user input sequences so failures can be inspected as time-ordered evidence inside your own routes and permissions.
Key features
- DOM snapshot serialization
- Incremental mutation recording
- Multi-page session chaining
- Event stream session replay
- rrweb-player playback UI
- Plugin API for network capture
- Sandboxed replay environment
- TypeScript-typed event payloads
Use cases
- Product session replay
- Error observability with context
- Customer support diagnostics
- In-app bug report capture
- Compliance-oriented audit playback