microsoft/playwright ? reverse-engineered prompt
Reverse engineered prompt
I want to build a tool that can automate and test websites across all the major browsers—like Chrome, Firefox, and Safari—using one simple set of commands. I should be able to write scripts that act like a real user: visit a page, click on a "Get Started" link, and then verify that the right heading loads. The tool needs to be smart enough to automatically wait for things to appear on the page before trying to click them, so my tests aren't flaky and don't need a bunch of manual pauses.
Besides testing, I'd also love to use this for general browser automation, like programming it to take screenshots of different pages or save an article as a PDF. One of the most important features is that when a test fails, it should generate a detailed report with a trace or even a video of the entire session, making it super easy to see what went wrong.
Are you gonna build this?
make sure you review the code using coderabbit