Capture and replay execution traces of client-side web applications