From a95d038412ccab82d9a4b14be2d1d3fc44e3e4b6 Mon Sep 17 00:00:00 2001 From: Paul Millet Date: Wed, 27 Apr 2022 22:15:34 +0200 Subject: [PATCH] fixed headless --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index d6a40a1..84aeb23 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,7 +26,7 @@ const config: config_type = JSON.parse(readFileSync(config_location).toString()) }); }) - const browser = await puppeteer.launch({ headless: false, args: config.args }); + const browser = await puppeteer.launch({ headless: true, args: config.args }); const borwserPID = browser.process(); let queue = new Stack()