From 9659d41b83d2e4f6e0b9b8458a5f46c92a5a1745 Mon Sep 17 00:00:00 2001 From: Birk Skyum Date: Sun, 22 Oct 2023 00:20:55 +0200 Subject: [PATCH] chrome new headless --- config/wdio.conf.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/wdio.conf.js b/config/wdio.conf.js index 06b07a1..a9451f2 100644 --- a/config/wdio.conf.js +++ b/config/wdio.conf.js @@ -11,6 +11,7 @@ var SCREENSHOT_PATH = artifacts.pathSync("screenshots"); exports.config = { runner: 'local', path: '/wd/hub', + specs: [ './test/functional/index.js' ], @@ -19,6 +20,9 @@ exports.config = { { maxInstances: 5, browserName: (process.env.BROWSER || 'chrome'), + 'goog:chromeOptions': { + args: ['headless=new'] + } } ], // geckodriver-0.31 seems to have problems as of 2022 May 1