-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprotractor.conf.js
28 lines (28 loc) · 936 Bytes
/
protractor.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
exports.config = {
//seleniumAddress: 'http://localhost:4444/wd/hub',
//multiCapabilities: [ ], {browserName: 'chrome',},
capabilities: {
'browserName': 'chrome',
'chromeOptions': {
// args: ['--headless', '--disable-gpu', '--disable-browser-side-navigation']
args: ['--disable-browser-side-navigation']
}
},
directConnect: true,
SELENIUM_PROMISE_MANAGER: false, // Disable the Control Flow - use async await instead
framework: 'jasmine',
specs: ['./e2e/specs/test.js'],
// beforeLaunch: function() { },
onPrepare: () => {
browser.driver.manage().window().maximize();
},
// afterLaunch: function(exitCode) { },
jasmineNodeOpts: {
defaultTimeoutInterval: 120000,
showTiming: true,
showColors: true,
isVerbose: true,
includeStackTrace: true,
},
// allScriptsTimeout: 120000
};