checkly / headless-recorder

Chrome extension that records your browser interactions and generates a Playwright or Puppeteer script.
https://checklyhq.com/headless-recorder
MIT License
15.03k stars 722 forks source link

[Feature Request] Support for Playwright #82

Closed mxschmitt closed 4 years ago

mxschmitt commented 4 years ago

Hey,

the chrome extension seems to have a really good foundation and it would be good to provide maybe also support for the new Playwright project. It's basically mostly the same except with cross-browser support and a few API calls were simplified.

What do you think?

tnolet commented 4 years ago

Hi @mxschmitt this is a great idea. I just created this issue explaining our way forward https://github.com/checkly/puppeteer-recorder/issues/83

tnolet commented 4 years ago

@mxschmitt We are reserving time to look into this. It would possibly involve a renaming of the project and that might be a bit of a hassle. But expect some action here soon.

tnolet commented 4 years ago

Ok, I had a look. A feature-equivalent version of Puppeteer Recorder with Playwright support is quite simple. All events are already abstracted and can be fed to a different code generator. On the UI side we would just generate both scripts on finishing a recording and show each result in a separate tab.

We can allow users to specific which tab should be there default tab to minimise annoying switching when you are just using either framework.

The bigger thing would be "rebranding" the extension. AFAICS we can do that without "punishment" from Google.

Here are the items I see:

We will target this for a v0.8.0 release.

@maxigimenez will look at this ASAP

Mockups:

Results tab image

Settings tab image

maxigimenez commented 4 years ago

Closing this issue given that the feature has been merged to master 🎉