Skip to content
Permalink
Browse files

fix(protractor): fix chrome-driver issue on visible chrome too

  • Loading branch information
3cp committed Feb 28, 2020
1 parent 8eed20a commit f45a7a9545ace1a69aace4756e5ceb14f496dc09
Showing with 3 additions and 3 deletions.
  1. +3 −3 skeleton/protractor/protractor.conf.js
@@ -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'
]
}
},
@@ -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.
You can’t perform that action at this time.