Vitest Browser Mode
summary
Vitest Browser Mode runs tests inside real browsers (Chrome, others) via WebDriverIO/Playwright or a none provider that returns a shareable URL, so Node globals like process become failures instead of hidden false positives. It forwards console logs to the terminal, supports headless CI, and experiments with iframe isolation to give separate DOM contexts and concurrency — author reports running many isolated tests (proposal: ~100 files) successfully in demos. The feature is experimental but functional.
AI-written summary · about
chapters (5)
- 0:00Introduction and background
- 1:01The problem with simulation
- 3:28Introducing browser mode
- 7:51Experimental features
- 10:47Demo and conclusion








