DEV Community

Discussion on: Chrome DevTools: Recorder

Collapse
 
liviufromendtest profile image
Liviu Lupei

I also noticed it a few days ago.
It was a pleasant surprise.
But it sure feels like a first version.

The good parts:

  1. It's easy to record a short script.
  2. You can run that script directly in your own Chrome browser.
  3. The recorded script is saved and can even be exported as a Puppeteer js file.

The not-so-good parts:

  1. The lack of artifacts (detailed logs, screenshots and video).
  2. You can't run the scripts from your CI/CD system.
  3. No options to add advanced actions, logic, reusable components, variables or assertions.
  4. No possibility to collaborate with other team members.
  5. Puppeteer has very limited cross-browser support, you can't run that test on Safari (which has 19% market share).

My two cents:
If you're working on a weekend project, it's a decent way to test if it's working correctly in Chrome.
As for testing complex flows, it's not going to cut it.

Disclaimer:
As someone working at Endtest, I know that a useful test automation tool needs a lot more than a record and playback feature.

Collapse
 
dailydevtips1 profile image
Chris Bongers

Totally is a beta feature for now, but pretty sure Chrome will make it better over time.

Technically you could get a screencap artifact from the performance tab.
And when running puppeteer include that as in the CI/CD.

But get your points, as this is very limited and more a workaround than it could be.

Let's hope they keep improving this.