Skip to content

Commit

Permalink
feat: chrome flags
Browse files Browse the repository at this point in the history
  • Loading branch information
vobu committed Feb 12, 2022
1 parent 2125ddb commit c48a9bf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/wdio-ui5.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ export const config: wdi5Config = {
maxInstances: 5,
//
browserName: "chrome",
"goog:chromeOptions": {
args: process.env.HEADLESS
? ["--headless"]
: process.env.DEBUG
? ["window-size=1440,800", "--auto-open-devtools-for-tabs"]
: ["window-size=1440,800"]
},
acceptInsecureCerts: true
// If outputDir is provided WebdriverIO can capture driver session logs
// it is possible to configure which logTypes to include/exclude.
Expand Down

0 comments on commit c48a9bf

Please sign in to comment.