Testing · Middle · Question 49 of 75
How does Playwright isolate tests from each other?
- ✓Correct answer: Each test gets a new browser context - like a fresh incognito profile with its own cookies and storage
- 2It restarts the browser for every test
- 3It doesn't - tests share the page
Explanation
Contexts are cheap to create, so isolation doesn't cost much time.