Suppress keychain access popup from chromedriver in Karma

This commit is contained in:
Winnie Hellmann 2019-05-15 23:44:11 +00:00 committed by Stan Hu
parent 5e53f25516
commit 5d260d565d
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ module.exports = function(config) {
// chrome cannot run in sandboxed mode inside a docker container unless it is run with
// escalated kernel privileges (e.g. docker run --cap-add=CAP_SYS_ADMIN)
'--no-sandbox',
// https://bugs.chromium.org/p/chromedriver/issues/detail?id=2870
'--enable-features=NetworkService,NetworkServiceInProcess',
],
},
},