Recording Playwright core
We assume most folks are using Playwright Test, but because Replay is just a browser, you can also use the Playwright API, to tell Playwright to launch the Replay browser.
Getting started
Lets start with a simple Playwright test that launches Chromium and goes to google.com.
simple-test.js
Updating the test to use the Replay browser is as simple as telling Playwright to launch the Replay browser.
simple-test.js
Run node test.js to run and record your tests. And then run replayio upload and upload your new replay.