Puppeteer: Could not find Google Chrome executable for channel '{value}' at:${paths.map( path => {...
No Google Chrome executable exists at the searched channel locations.
No Google Chrome executable exists at the searched channel locations.
Error message
Could not find Google Chrome executable for channel '{value}' at:${paths.map( path => {...
{value} is replaced by the value shown in your error message.
How this error happens
channel asks Puppeteer to find a system-installed Chrome release. If that release is not installed at the usual OS locations, there is no executable to launch.
The snippets use the imported puppeteer instance on a machine without Chrome Beta installed.
await puppeteer.launch({
channel: "chrome-beta",
});
How to fix
Install the intended system channel, or omit channel to use Puppeteer’s package-managed Chrome.
const browser = await puppeteer.launch();
Things to keep in mind
Omitting channel changes which browser you test. If beta-channel behavior is the goal, install beta rather than changing the test to stable.