Skip to content

Commit

Permalink
Tweaked wdio config
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Dec 19, 2022
1 parent 226d235 commit e0627c6
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export const config: WebdriverIOConfig = {
]
},

headless: true,
automationProtocol: 'devtools',

// ==================
// Specify Test Files
// ==================
Expand Down Expand Up @@ -73,7 +76,7 @@ export const config: WebdriverIOConfig = {
// and 30 processes will get spawned. The property handles how many capabilities
// from the same test should run tests.
//
maxInstances: 10,
maxInstances: 6,
//
// If you have trouble getting all important capabilities together, check out the
// Sauce Labs platform configurator - a great tool to configure your capabilities:
Expand All @@ -84,7 +87,7 @@ export const config: WebdriverIOConfig = {
// maxInstances can get overwritten per capability. So if you have an in-house Selenium
// grid with only 5 firefox instances available you can make sure that not more than
// 5 instances get started at a time.
maxInstances: 5,
// maxInstances: 5,
//
browserName: 'chrome',
acceptInsecureCerts: true,
Expand All @@ -95,11 +98,14 @@ export const config: WebdriverIOConfig = {

'goog:chromeOptions': {
args: [
'--headless',
'--disable-web-security',
'--allow-file-access-from-files',
'--allow-file-access',
'--disable-infobars',
'--no-sandbox',
'--ignore-certificate-errors',
'--headless',
'--disable-gpu',
'--window-size=1024,768',
'--window-size=1024x768',
]
}
}],
Expand Down

0 comments on commit e0627c6

Please sign in to comment.