From e1839f3fb281151d7cf43652210047ff36d6696f Mon Sep 17 00:00:00 2001 From: Philippe Ozil Date: Wed, 28 Aug 2024 10:55:49 +0200 Subject: [PATCH] fix: disable search engine dialog in chrome --- wdio.conf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wdio.conf.js b/wdio.conf.js index 5c3761cee..dd974496f 100644 --- a/wdio.conf.js +++ b/wdio.conf.js @@ -14,9 +14,10 @@ exports.config = { maxInstances: 1, browserName: 'chrome', 'goog:chromeOptions': { + args: ['--disable-search-engine-choice-screen'] // to run chrome headless the following flags are required // (see https://developers.google.com/web/updates/2017/04/headless-chrome) - //args: ['--headless', '--disable-gpu', '--window-size=1920,1080'] + //args: ['--headless', '--disable-gpu', '--window-size=1920,1080', '--disable-search-engine-choice-screen'] } } ],