How do you set up number of workers in Playwright for optimal test execution? or What's the best way

18 Replies, 1104 Views

Pro tip: Use `--workers=auto` and let Playwright decide. It’s smarter than you think!

But if you’re stubborn like me, match it to your cores *minus one* for breathing room. Also, avoid setting up number of workers in playwright too high if your tests share resources (e.g., same DB).

Messages In This Thread



Users browsing this thread: 1 Guest(s)