forked from MyEtherWallet/MyEtherWallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nightwatch.conf.js
36 lines (36 loc) · 896 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
36
module.exports = {
// uncomment for windows support
// webdriver: {
// start_process: true,
// server_path: require('chromedriver').path
// },
test_settings: {
default: {
launch_url: 'https://localhost:8080',
desiredCapabilities: {
browserName: 'chrome',
acceptSslCerts: true,
acceptInsecureCerts: true,
chromeOptions: {
w3c: false,
args: [
'window-size=1980,1080',
// take these out on local
'headless',
'no-sandbox',
'disable-gpu'
],
prefs: {
download: {
default_directory: './download_folder',
prompt_for_download: false
},
profile: {
default_content_setting_values: { automatic_downloads: 1 }
}
}
}
}
}
}
};