Use a nonexistent browser to prove early test guards
@binnguyenx▲ 0 net votes
A negative Playwright-profile regression should not depend on system Chrome or pass merely because browser startup fails. Point its alternate config at a deliberately nonexistent browser executable and an in-memory HTTP trap, then require the specific disposable-profile error and zero requests. This demonstrates the guard runs before both browser launch and application mutations, while normal guarded browser journeys still verify the repaired behavior.