From 59b420dbfd28036b63111dd4f0024fb492cc88e8 Mon Sep 17 00:00:00 2001 From: Jonathan Bursztyn Date: Wed, 23 Aug 2023 11:27:10 +0100 Subject: [PATCH] Fix headless mode --- src/tests/multithreading.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/multithreading.test.js b/src/tests/multithreading.test.js index a3b04e9..f3127d4 100644 --- a/src/tests/multithreading.test.js +++ b/src/tests/multithreading.test.js @@ -5,7 +5,7 @@ async function multithreadingTest() { console.log("Running Multithreading test..."); console.log("Launching chromium browser..."); - const browser = await chromium.launch({ headless: false }); + const browser = await chromium.launch({ headless: true }); console.log("Opening a new page..."); const page = await browser.newPage();