-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnightwatch.conf.js
35 lines (34 loc) · 999 Bytes
/
nightwatch.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
29
30
31
32
33
34
35
const chromedriver = require('chromedriver');
module.exports = {
page_objects_path: 'js/utils',
test_settings: {
default: {
webdriver: {
start_process: true,
server_path: chromedriver.path,
port: 4444,
cli_args: ['--port=4444']
},
screenshots: {
enabled: true,
on_failure: true,
on_error: true,
path: 'screenshots'
},
desiredCapabilities: {
browserName: 'chrome',
version: "76.0.1",
chromeOptions: {
args: [
//'headless',
//'window-size=1920,1080',
'start-maximized',
'incognito',
'no-sandbox',
'disable-gpu'
]
},
}
}
}
};