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

18 Replies, 1098 Views

I’ve seen folks use `os.cpus().length` in the config to auto-set workers. Fancy, huh?

But yeah, for most projects, cores - 1 is the sweet spot. Unless you’re testing on a potato. Then godspeed.

Messages In This Thread



Users browsing this thread: 1 Guest(s)