Puppeteer: Unknown product: {value}
launch receives a browser value other than chrome or firefox.
launch receives a browser value other than chrome or firefox.
Error message
Unknown product: {value}
{value} is replaced by the value shown in your error message.
How this error happens
launch supports chrome and firefox. A browser option such as safari does not select an alternative executable.
The snippets use the imported puppeteer instance.
await puppeteer.launch({
browser: "safari",
});
How to fix
Choose a supported browser. If you use a custom compatible executable, supply its path separately.
const browser = await puppeteer.launch({
browser: "chrome",
});
Things to keep in mind
An arbitrary browser binary does not become compatible simply because you pass it as executablePath. Close the launched browser after use.