Here's what you can actually do with ` page.route ()` 👇 ** Mock any API response** — test your UI without a running backend ** Simulate a 500 error** — does your app handle it gracefully? ** Abort a ...
Separate Config Files (Highly Recommended) playwright.ui.config.ts playwright.api.config.ts UI config Browser settings Screenshots Traces Video API config No browser Faster execution Only API reporter ...