> With Playwright the agent needs to write a test script, run it, collect screenshots, parse output separately… it’s a lot of glue code.

It most certainly does not require any glue code. Playwright cli gives you basically all of this out of the box.

https://github.com/microsoft/playwright-cli?tab=readme-ov-fi...