An example to extend Puppeteer Replay to use Applitools to capture screenshots, validate and replay the exported user flow JSON file from Chrome DevTools Recorder.
Here is the blog post: https://applitools.com/blog/creating-first-test-google-chrome-devtools-recorder/
- Install Nodejs
- Run
npm installto install the dependencies. - Sign up for an Applitools account (https://applitools.com/) and get the API Key.
- Replace the
apiKeyinmain.mjs(or create an.envfile withAPPLITOOLS_API_KEY). - Run
npm startto start the demo. - See the Applitools test result in the dashboard (https://eyes.applitools.com/app/test-results/).
- Read the blog post to understand what is happening.