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

18 Replies, 1118 Views

Thx everyone! 🙌

Tried `--workers=auto` and it’s *kinda* magic? Also bumped it to 6 on my 8-core machine and saw a nice speedup.

But now I’m curious—how do you handle worker setup in CI? Same logic? Or do you cap it lower?

(Also, big shoutout for the `os.cpus()` tip—didn’t know that was a thing!)

Messages In This Thread



Users browsing this thread: 1 Guest(s)