diff --git a/docs/guides/chrome-extensions.md b/docs/guides/chrome-extensions.md index 3fcabf9bc98..023464e62de 100644 --- a/docs/guides/chrome-extensions.md +++ b/docs/guides/chrome-extensions.md @@ -20,7 +20,7 @@ import path from 'path'; (async () => { const pathToExtension = path.join(process.cwd(), 'my-extension'); const browser = await puppeteer.launch({ - headless: 'chrome', + headless: 'new', args: [ `--disable-extensions-except=${pathToExtension}`, `--load-extension=${pathToExtension}`,