playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature] How to keep headed browser open on fail ?

Open yury-s opened this issue 3 years ago • 3 comments
trafficstars

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 ?

yury-s avatar Nov 22 '21 22:11 yury-s

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

anking avatar Apr 20 '22 17:04 anking

Yeah, it would be great to have such feature 🙂

mike-czarnota avatar Jul 22 '22 15:07 mike-czarnota

+1!!!! would love this feature

saylestyler avatar Sep 20 '22 01:09 saylestyler

This is now possible if you are using the VS Code extension!

pavelfeldman avatar Jun 30 '23 19:06 pavelfeldman

Are there any plans for adding this feature for UI mode?

blessanm86 avatar Jul 02 '23 07:07 blessanm86

@pavelfeldman And what if we're not using the VS Code extension...or not using VS Code at all?

dmwyatt avatar Nov 02 '23 16:11 dmwyatt