Because we actually replay the browser session as it ran before, Replay collects all of the event handlers that ran while recording. This means that all the mouse events, worker messages, or even uncaught promises are available for inspecting and debugging.
Events are shown in the Events pane in the left sidebar and can be output to the Console.
The Events pane is within the Replay Info panel. Click on an event to jump to that time in the replay. The video and console will update to reflect the application at that point in time.
Sometimes one event is handled multiple times. This can be surprising at first, but it's pretty common for one mouse click to have a lot of handlers.
Time travel from click and keystroke events into their React
onKeyPress handlers. Jump to code takes you to the relevant code where you can begin debugging with print statements.
Often libraries like React will install their own global handler and then pass the event to a component event handler like
onClick. We do our best to map these, but if you see an issue please let us know by submitting a bug report (opens in a new tab).
Select which events are logged to the console in the Console Settings pane. Click the left arrow icon next to ‘Filter Output’ in the console to access the settings.
Filter by event type and sort based on common and other events. We also show the number of times an event type occurs.
By default, mouse events will include
mouseup. You can find mouse move events such as
mouseout under advanced.
Keyboard events include
XHR events include
Other events captured could include Animation, Control events like
blur, DOM Mutation, and Timer events like
setTimeout fired. If you find an event that is not captured, let us know with a bug report (opens in a new tab).