Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: a pretty error when browser executable is not found (#3220)
Make sure executable exists before launching it. If it doesn't and we were launched without custom executable path, print a helpful instruction to run `npm i playwright` and get browsers downloaded. Note: there's already a test that makes sure bad executable paths are treated fairly: https://github.com/microsoft/playwright/blob/9132d23b2bfadfcf46461f2135c37d9689d91033/test/launcher.jest.js#L54-L59 This doesn't test missing default browser installation which I think is fine. Fixes #3161
- Loading branch information