top | item 32600965

Live Coding in Playwright

1 points| mjgoeke | 3 years ago |twitter.com

3 comments

order

mjgoeke|3 years ago

Hi!

I created a library at work that I'm pushing to get open sourced now. It provides live coding functionality for Playwright tests.

It also has an extremely powerful user configurable recorder.

I'm looking to add support to make it page-object-model aware next.

It took 2 weeks to make so far, is < 100 lines code in playwright test side and < 100 lines code in the browser side to do the entire thing.

Everything kept folding down smoothly and (almost) perfectly.

I'm very proud of it :-)

mgbmtl|3 years ago

I'd use it :)

Writing tests is tedious, and this reminds me the nicer bits of Selenium IDE (which I otherwise don't miss).