Skip to content

Commit

Permalink
fix: add disable-renderer-backgrounding flag
Browse files Browse the repository at this point in the history
Fixes #123
  • Loading branch information
cexbrayat committed May 5, 2017
1 parent 5b5b4ae commit 6bfc170
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ var ChromeBrowser = function (baseBrowserDecorator, args) {
'--disable-popup-blocking',
'--disable-translate',
'--disable-background-timer-throttling',
// on macOS, disable-background-timer-throttling is not enough
// and we need disable-renderer-backgrounding too
// see https://github.com/karma-runner/karma-chrome-launcher/issues/123
'--disable-renderer-backgrounding',
'--disable-device-discovery-notifications'
].concat(flags, [url])
}
Expand Down

0 comments on commit 6bfc170

Please sign in to comment.