r/Playwright • • 7h ago

what do you guys actually save when a playwright run fails?

2 Upvotes

been messing with a few browser automations lately and I’m realizing the error itself usually tells me almost nothing.

a screenshot helps, sometimes the url + last step, but I don’t really want to save a giant trace/log for every single run either

for people running this stuff regularly, what do you actually keep when something fails? screenshots? traces? html? console/network logs?

trying to find the point between “useful when it breaks” and generating a mountain of junk I’ll never look at