Skip to content

Commit

Permalink
with chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
aethernet committed Apr 24, 2024
1 parent 3d1200e commit 00773f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
7 changes: 7 additions & 0 deletions wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
},
],

//
Expand Down

0 comments on commit 00773f3

Please sign in to comment.