chore(docs): Fix extensions guide (#9657)

This commit is contained in:
Nikolay Vitkov 2023-02-13 11:40:17 +01:00 committed by GitHub
parent 8054bac046
commit 6ada628f39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}`,