Testing · Senior · Question 20 of 75
What is the difference between Playwright workers and shards?
- ✓Correct answer: Workers are parallel processes on one machine; shards split the suite across machines
- 2They are synonyms
- 3Workers run browsers, shards run assertions
Explanation
Each worker has its own browser; workers are restarted after a failure to keep the environment clean.