From 00773f37152366f9e7f2ec5bb9018f9478bfe14b Mon Sep 17 00:00:00 2001 From: Edwin Joassart Date: Wed, 24 Apr 2024 16:35:16 +0200 Subject: [PATCH] with chromium --- package.json | 3 ++- wdio.conf.ts | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3d09623be1c..3d71baef40a 100644 --- a/package.json +++ b/package.json @@ -138,7 +138,8 @@ "libxrender1", "libxss1", "libxtst6", - "polkit-1-auth-agent | policykit-1-gnome | polkit-kde-1" + "polkit-1-auth-agent | policykit-1-gnome | polkit-kde-1", + "chromium" ] }, "engines": { diff --git a/wdio.conf.ts b/wdio.conf.ts index f97f2d8129c..0f0e51e1f7e 100644 --- a/wdio.conf.ts +++ b/wdio.conf.ts @@ -69,6 +69,13 @@ export const config: Options.Testrunner = { appBinaryPath: './out/make/', }, }, + { + browserName: 'chrome', // Still use 'chrome' as the browser name + 'goog:chromeOptions': { + binary: '/usr/bin/chromium', // Path to Chromium + args: ['--headless', '--disable-gpu', '--no-sandbox'], // Any additional arguments + }, + }, ], //