How do I turn playwright headless off for debugging? or Why would you want to turn playwright headles

14 Replies, 1649 Views

"How do I turn playwright headless off for debugging?"

Hey folks! Struggling with debugging my Playwright tests and need to see what's *actually* happening in the browser.

How do I turn playwright headless off? I know it's faster headless, but man, sometimes you just gotta see the magic (or mess) happen in real-time, right?

I tried tweaking the launch config but might be missing something. Is it just `headless: false` in the options? Or is there more to it?

Also, does turning playwright headless off slow things down *a lot*? Or is it bearable for debugging sessions?

Thanks in advance! 🙌

---

(Word count: ~90)

*P.S. If you've got pro tips for debugging without turning playwright headless off, I'm all ears!*

Messages In This Thread
How do I turn playwright headless off for debugging? or Why would you want to turn playwright headles - by - 04-10-2024, 03:45 AM



Users browsing this thread: 2 Guest(s)