From 778523ab94951542a57f7961d678e30dc2d1eb22 Mon Sep 17 00:00:00 2001 From: YiFei Zhu Date: Mon, 3 Jul 2023 19:36:07 -0700 Subject: [PATCH] 01_scrape: Switch to new headless Seems to work --- 01_scrape/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01_scrape/index.js b/01_scrape/index.js index 5593fbd..93d6dde 100644 --- a/01_scrape/index.js +++ b/01_scrape/index.js @@ -359,7 +359,7 @@ class Ctfd2Pages { } async run() { - const browser = await puppeteer.launch({headless: true}); + const browser = await puppeteer.launch({headless: 'new'}); this.pushpage(this.origin); this.pushpage(`${this.origin}404`);