https://bugs.chromium.org/p/chromedriver/issues/detail?id=2473
chromeOptions: {
// https://github.com/nightwatchjs/nightwatch/releases/tag/v1.1.12
w3c: false,
- args: ['window-size=1280,800'],
+ args: ['window-size=1280,800', 'no-sandbox', 'disable-dev-shm-usage'],
+ },
+ },
+ },
+
+ // TODO: generate these and add skip tags
+ 'chrome-headless': {
+ desiredCapabilities: {
+ browserName: 'chrome',
+ acceptSslCerts: true,
+ chromeOptions: {
+ w3c: false,
+ args: ['window-size=1280,800', 'headless'],
},
},
},