Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
browserName: 'chrome',
shardTestFiles: true,
maxInstances: 2
}, {
browserName: 'chrome',
shardTestFiles: true,
maxInstances: 2,
chromeOptions: {
args: [
'--headless',
'--disable-gpu'
]
}
}],
chromeDriver: require('chromedriver/lib/chromedriver').path,
geckoDriver: require('geckodriver/lib/geckodriver').path,
mochaOpts: {
timeout: TIMEOUT
},
directConnect: true,
SELENIUM_PROMISE_MANAGER: false
};