That's exactly what Playwright does, but also something you don't really need in order to debug a problem.