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 + }, + }, ], //