diff --git a/index.js b/index.js index 9404037..e06bc07 100644 --- a/index.js +++ b/index.js @@ -169,7 +169,6 @@ ChromeBrowser.$inject = ['baseBrowserDecorator', 'args'] function headlessGetOptions (url, args, parent) { var mergedArgs = parent.call(this, url, args).concat([ '--headless', - '--disable-gpu', '--disable-dev-shm-usage' ]) diff --git a/test/jsflags.spec.js b/test/jsflags.spec.js index 0b2c623..d29db89 100644 --- a/test/jsflags.spec.js +++ b/test/jsflags.spec.js @@ -65,7 +65,6 @@ describe('headlessGetOptions', function () { expect(headlessGetOptions.call(context, url, args, parent)).to.be.eql([ '-incognito', '--headless', - '--disable-gpu', '--disable-dev-shm-usage', '--remote-debugging-port=9222' ]) @@ -82,7 +81,6 @@ describe('headlessGetOptions', function () { '-incognito', '--remote-debugging-port=9333', '--headless', - '--disable-gpu', '--disable-dev-shm-usage' ]) })