Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Library that provides an API to replay and stringify recordings created using Chrome DevTools Recorder
| Date | Stars |
|---|---|
| 2026-07-24 | 1360 |
| 2026-07-25 | 1360 |
| 2026-07-28 | 1360 |
| 2026-07-30 | 1360 |
| 2026-08-06 | 1360 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
15.0
growth rate 0.00%/day
# @puppeteer/replay
<!-- [START badges] -->
[](https://github.com/puppeteer/replay/actions?query=workflow%3Arun-checks) [](https://npmjs.org/package/@puppeteer/replay)
<!-- [END badges] -->
###### [API](https://github.com/puppeteer/replay/blob/main/docs/api) | [Contributing](https://github.com/puppeteer/replay/blob/main/docs/contributing.md)
> Puppeteer Replay is a library that provides an API to replay and stringify recordings created using [Chrome DevTools Recorder](https://developer.chrome.com/docs/devtools/recorder/)
## Installation
```
npm install @puppeteer/replay --save
```
If you want to replay recordings using Puppeteer, install Puppeteer as well:
```
npm install puppeteer --save
```
## Getting started with Puppeteer Replay
You can use Puppeteer Replay to:
1. **Replay recording**. Replay recording with CLI or using [the replay lib API](/examples/replay-from-file-using-puppeteer/main.js).
2. **Customize replay**. Customize how a recording is run. For example, capture screenshots after each step or integrate with 3rd party libraries.
3. **Transform recording**. Customize how a recording is stringified. For example, transform the recording into another format.
Also, you can use third-party integrations that build on top of `@puppeteer/replay`, which includes:
Transform JSON user flows to custom scripts:
- [Cypress Chrome Recorder](https://github.com/cypress-io/cypress-chrome-recorder). You can use it to convert user flow JSON files to Cypress test scripts. Watch this [demo](https://youtu.be/4qYs2bMz4GI) to see it in action.
- [Nightwatch Chrome Recorder](https://github.com/nightwatchjs/nightwatch-chrome-recorder). You can use it to convert user flow JSON files to Nightwatch test scripts.
- [WebdriverIO Chrome Recorder](https://github.com/webdriverio/chrome-recorder). You can use it to convert user flow JSON files to WebdriverIO test scripts.
Replay JSON user flows:
- [Replay with TestCafe](https://testcafe.io/documentation/403998/guides/experimental-capabilities/chrome-replay-support). You can use TestCafe to replay user flow JSON files and generate test reports for these recordings.
- [Replay with Sauce Labs](https://saucelabs.com/blog/how-to-create-test-scripts-using-chrome-devtools). You can replay the JSON files on [Sauce Labs](https://saucelabs.com/) using [saucectl](https://github.com/saucelabs/saucectl-replay-example).
## 1. Replay recording
Download this [example recording](https://storage.googleapis.com/web-dev-uploads/file/dPDCek3EhZgLQPGtEG3y0fTn4v82/vzQbv2rUfTz2DEmx06Gv.json) and save it as `recording.json`.
Using CLI + npx:
```
npx @puppeteer/replay recording.json
```
Using CLI + package.json:
In your `package.json` add a new script to invoke the `replay` command:
```json
{
"scripts": {
"replay": "replay recording.json"
}
}
```
You can also give folder name as a parameter to run all the files in a folder.
Using CLI + npx:
```bash
npx @puppeteer/replay all-recordings # runs all recordings in the "all-recordings" folder.
```
Using CLI + package.json:
```json
{
"scripts": {
"replay": "replay all-recordings"
}
}
```
Set the `PUPPETEER_HEADLESS` environment variable or `--headless` CLI flag to control whether the browser is started in a headful or headless mode. For example,
```
PUPPETEER_HEADLESS=true npx @puppeteer/replay recording.json # runs in headless mode, the default mode.
PUPPETEER_HEADLESS=false npx @puppeteer/replay recording.json # runs in headful mode.
PUPPETEER_HEADLESS=chrome npx @puppeteer/replay recording.json # runs in the new experimental headless mode.
```
Use the `--extension` CLI flag to provide a [custom replay extension](https://github.com/puppeteer/replay#2-customize-replay) for running the recording. For [example](https://github.com/puppeteer/replay/blob/main/examples/cli-extension/exExcerpt of 11,969 characters
Read on GitHub339
Alex Rudenko · @google · Germany
139
48
Randolf J.
34
Nikolay Vitkov · Bulgaria
13
12
9
6
5
Ergün Erdoğmuş
4
4
Mathias Bynens · @Google
2
1
Paul Irish · Google Chrome, ♥z
1
Nicky McCurdy
1
1
1
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:bdf68d65537fc427, topic:automation
matched fp:bdf68d65537fc427, topic:puppeteer