packages/launcher/README.md
This package finds and launches browsers for each operating system.
The TypeScript source files are in the lib folder.
To see the browsers detected on your machine, run the following from the packages/launcher directory. The @packages/ts require hook transpiles the TypeScript on the fly:
node -r @packages/ts/register -e "require('./lib/detect').detect().then(console.log, console.error)"
You can also check whether a specific binary is recognized as a browser by passing its path:
node -r @packages/ts/register -e "require('./lib/detect').detectByPath(process.argv[1]).then(console.log, console.error)" /usr/bin/chromium-browser
yarn workspace @packages/launcher test
Uses debug to output debug log messages. To turn on, use
DEBUG=cypress:launcher:* yarn workspace @packages/launcher test
Verbose messages, including detailed stdout, are available under cypress-verbose:launcher:*.