Skip to content

Commit

Permalink
fix(protractor): fix chrome-driver issue on visible chrome too
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Feb 28, 2020
1 parent 8eed20a commit f45a7a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions skeleton/protractor/protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ const config = {
'--disable-translate',
'--disable-background-timer-throttling',
'--disable-renderer-backgrounding',
'--disable-device-discovery-notifications'
'--disable-device-discovery-notifications',
'--no-sandbox',
'--disable-dev-shm-usage'
]
}
},
Expand All @@ -78,8 +80,6 @@ const config = {
if (headless) {
config.capabilities.chromeOptions.args.push("--no-gpu");
config.capabilities.chromeOptions.args.push("--headless");
config.capabilities.chromeOptions.args.push("--no-sandbox");
config.capabilities.chromeOptions.args.push("--disable-dev-shm-usage");
}

exports.config = config;

0 comments on commit f45a7a9

Please sign in to comment.