From e10bd58f9f4b2698cff90d62cc378bbb32e16e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Idczak?= Date: Mon, 17 Aug 2020 23:42:56 +0200 Subject: [PATCH] update example with non empty puppeteer launch param Calling empty puppeteer-extra launch with no param causes `TypeError: Cannot convert undefined or null to object`. Adding empty object avoid that issues. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31d60f4..c0b48cc 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ puppeteer.use(require('puppeteer-extra-plugin-angular')()); theEmail: 'you@address.com', }; - const browser = await puppeteer.launch(); + const browser = await puppeteer.launch({}); const page = await browser.newPage(); // Calling page.waitUntilActionReady internally.