browser
Loads your routes and reports console errors.
Reference
- Runs
- a headless browser against your dev server
- Ships as
- off
- Needs
- commands.dev_server and commands.dev_url
How it works
Starts your dev server, waits for the URL to answer, loads the routes the run touched, and fails on a console error or a failed request.
If the URL already answers it uses that server and starts nothing, so it does not fight the dev server you have open.
commands:
dev_server: "pnpm dev"
dev_url: "http://localhost:5173"
gates:
browser: { enabled: true, blocking: true }