You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jennifer-shehane I think I may have a simple fix by adding an initial check if the given browser is supported in ensureAndGetByNameOrPath in packages/server/lib/browers/utils.ts, and then adding an additional error in packages/errors/src/errors.ts specifically for unsupported browsers.
Then we can simplify the BROWSER_NOT_FOUND_BY_NAME error to just print out Browser: ${fmt.highlight(browser)} was not found on your system etc as per @asashour's request
What would you like?
Browser: chrome was not found on your system or is not supported by Cypress.
Should be
Browser: chrome was not found on your system.
Why is this needed?
If any of the supported browsers is not found, a specific message would be better. This is a better user experience.
If a non-supported browser is specified, e.g.
abc
, thenBrowser: abc is not supported by Cypress.
is also a little better.Other
No response
The text was updated successfully, but these errors were encountered: