From 899a47c52480032d3ac7f5cfb011c7e0e3a74403 Mon Sep 17 00:00:00 2001 From: Johannes Wilm Date: Wed, 10 Apr 2024 18:42:25 +0200 Subject: [PATCH] GA: new chrome headless syntax --- test/test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.mjs b/test/test.mjs index 307188e2..c8c8efa9 100644 --- a/test/test.mjs +++ b/test/test.mjs @@ -17,7 +17,7 @@ const options = new chrome.Options() if (process.env.CI) { // eslint-disable-line no-process-env // We are running on CI wait = 300 - options.headless() + options.addArguments("--headless=new") } const driver = new webdriver.Builder().withCapabilities(webdriver.Capabilities.chrome()).setChromeOptions(options).build() driver.manage().window().setRect({width: 1920,