playwright
playwright copied to clipboard
[Feature] How to keep headed browser open on fail ?
Discussed in https://github.com/microsoft/playwright/discussions/10470
Originally posted by benwiley4000 November 22, 2021 One thing I like about Cypress is that you can keep the browser open after the test fails so you can explore the DOM state where the test failed. It would be nice to be able to do the same with Playwright. Is there a flag I can pass to allow this ?
Any update on this? Seem very annoying that you have to manually set breakpoint of failing code when you need to stop at certain point
Yeah, it would be great to have such feature 🙂
+1!!!! would love this feature
This is now possible if you are using the VS Code extension!
Are there any plans for adding this feature for UI mode?
@pavelfeldman And what if we're not using the VS Code extension...or not using VS Code at all?