Puppeteer: The allowlist option require Chrome 149 or greater.
The CDP allowlist option requires Chrome major version 149 or newer.
The CDP allowlist option requires Chrome major version 149 or newer.
Error message
The allowlist option require Chrome 149 or greater.
How this error happens
An allowlist is requested from a Chrome executable too old to implement the required restriction mechanism.
The snippets use the imported puppeteer instance with its downloaded browser installed.
await puppeteer.launch({
executablePath: "/absolute/path/older-chrome",
allowlist: [
"https://example.com/*",
],
});
How to fix
Use Puppeteer’s compatible downloaded Chrome instead of forcing an older executable. Preserve the allowlist.
const browser = await puppeteer.launch({
allowlist: [
"https://example.com/*",
],
});
Things to keep in mind
The failing path must point to an existing older Chrome to reach this check; a nonexistent path produces an executable-path error first. Do not replace the allowlist with unrestricted navigation.