Travel back in time
Instead, the Replay browser records the inputs it gets from the system – network data, user events like mouse clicks, and so on – and non-determinism resulting from interactions between threads. There isn’t very much of this and it can be recorded with little overhead. When replaying, the same browser runs and uses that recorded data to ensure it behaves in the exact same way as it did when recording. The state at any point in time can be reconstructed simply by replaying the browser to that point.
The main benefit of using Replay is that recording a bug or any other problem on a website is enough for a developer looking at the recording to fully understand the bug and what is needed to fix it. The developer has a perfect reproduction of the bug, as if it happened on their own machine. This enables many improvements to productivity and the overall effectiveness of a software development organization.
Stop reproducing bugs
Filing bug reports with the right information is hard. Screenshots, videos, console logs, and so forth can indicate where the problem occurred but not the underlying reason needed to fix it. Figuring out that reason often requires the developer to reproduce the bug themselves, but writing down repro steps is challenging or impossible and can require extensive back-and-forths.
Bug reports filed using Replay have a perfect reproduction of the bug. The reporter just has to record the problem and add a link to that recording with a comment or two pointing out where things went wrong. This gives developers what they need to understand and fix the problem, and is better than any bug report filed without using Replay.
Support your users with ease
Handling bugs reported by QA and users is a difficult and time consuming process for many organizations. This results from the difficulty developers have reproducing these bugs. When a developer isn’t able to reliably reproduce a bug it becomes very time consuming to investigate and speculate about possible fixes, and often these issues will be closed as not actionable.
With Replay, bug reports have a perfect reproduction which developers can use to investigate the bug as if it was happening on their own machine. This takes out the guesswork and the time involved in dealing with these reports, and the need for detailed documentation from the reporter.
Companies that consistently use Replay for their support have seen dramatic improvements in the ease and speed with which they can resolve issues.
Glide: Getting replays from QA "has completely revolutionized how we deal with bugs that come in. Now, we can’t even get a report from support unless it comes with a replay."
Midnite: "Replay has been instrumental in building our bug reporting system and it’s been a game-changer allowing us to land changes and fix bugs immediately."
Pantheon: Across the org, "from PMs to Engineers, to Customer Support and our CEO, we use Replay to track down bugs with so much more ease and save so much time diagnosing what went wrong."
Fix all your flaky tests
Flaky test failures are one of the most common and annoying things which developers have to deal with. A test that fails infrequently is very difficult to understand and fix, and yet a suite with many tests like this will frequently have failures, keeping changes from landing and requiring manual investigation. Most often these tests end up being suppressed so they don’t run or their results aren’t reported, making them worthless.
With Replay, debugging a flaky test failure is no different from any other bug. A recording of the failure has a perfect reproduction of what went wrong and can be studied by developers to identify the root cause without regard for how infrequently the failure happens. Flakes are actually even easier to understand than other bugs, as a recording of the failure can be compared with a recording of the same test passing to identify discrepancies between the two recordings which end up leading to the failure. We’re working on automating this process by the way, schedule a call if you’d like to learn more.
Deploy with confidence
Teams which deploy changes to production frequently and with a low rate of incidents are significantly more likely to meet their organizational performance goals. This is one of the key findings of the DevOps Research and Assessment (DORA) team at Google.
Deploying on demand without causing regressions for users is almost impossible without a thorough test suite that passes reliably. The hardest part of building a test suite like this is maintaining it. When tests start failing intermittently it is hard to figure out what change led to the problem, and because intermittent failures are so hard to fix they tend to creep in over time and degrade the suite. Even if a new failure happens consistently it can still be hard to debug and understand why, creating a major drag for developers.
Using Replay to record your test suite effectively eliminates these problems. It is easy to debug and understand failing tests, whether they are happening intermittently or consistently. With Replay a team can get all the benefits of a solid test suite, without the downsides.
Debug test failures remotely
Understanding what went wrong when a test starts failing in CI is a troublesome process for many development organizations. Saving things like console logs and videos helps, along with supporting an environment for locally reproducing the failure. This process can be slow, doesn’t always work, and is time consuming to set up and maintain.
Using Replay streamlines this process considerably. Instead of gathering various artifacts when a test runs and supporting a reliable environment for developers to locally reproduce failures, recording the test gives developers a perfect reproduction of the failure which they can debug as if it happened on their own machine.
Modernize your test suite
Modern testing frameworks like Cypress and Playwright make it easier to understand and debug test failures compared to legacy frameworks like Selenium and Puppeteer. Tests written in these legacy frameworks are perfectly good, however, and there is a lot of inertia involved in porting them to a more modern framework.
Replay works great when used with test suites developed using modern frameworks, but it works equally well with older test suites. Because Replay is a specialized browser rather than a dedicated framework, integrating it with a suite simply requires using the Replay browser instead of Chrome, and uploading the generated recordings when the suite finishes.