Skip to content

Commit b52de5d

Browse files
run tests headless
1 parent e6b5555 commit b52de5d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

enhance/tests/wdio.conf.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,16 @@ export const config = {
6565
// maxInstances can get overwritten per capability. So if you have an in-house Selenium
6666
// grid with only 5 firefox instances available you can make sure that not more than
6767
// 5 instances get started at a time.
68-
maxInstances: 5,
69-
//
7068
browserName: 'chrome',
71-
acceptInsecureCerts: true
69+
acceptInsecureCerts: true,
70+
'goog:chromeOptions': {
71+
args: [
72+
'--headless',
73+
'--disable-dev-shm-usage',
74+
'--disable-gpu',
75+
'--window-size=1920,1080'
76+
],
77+
}
7278
// If outputDir is provided WebdriverIO can capture driver session logs
7379
// it is possible to configure which logTypes to include/exclude.
7480
// excludeDriverLogs: ['*'], // pass '*' to exclude all driver session logs

0 commit comments

Comments
 (0)