-
Notifications
You must be signed in to change notification settings - Fork 12
/
nightwatch.json
executable file
·51 lines (51 loc) · 1.47 KB
/
nightwatch.json
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"src_folders": [
"test/e2e/index.js"
],
"output_folder": "reports",
"custom_commands_path": "",
"custom_assertions_path": "",
"page_objects_path": "",
"globals_path": "",
"selenium": {
"start_process": true,
"server_path": "./bin/selenium-server-standalone-3.0.1.jar",
"log_path": "",
"port": 5555,
"cli_args": {
"webdriver.chrome.driver": "./bin/chromedriver"
}
},
"test_settings": {
"default": {
"launch_url": "http://localhost",
"selenium_port": 5555,
"selenium_host": "localhost",
"silent": true,
"screenshots": {
"enabled": false,
"path": "./screenshots"
},
"desiredCapabilities": {
"browserName" : "chrome"
},
"phantom": {
"browserName" : "phantomjs",
"javascriptEnabled" : true,
"acceptSslCerts" : true,
"phantomjs.binary.path" : "./bin/phantomjs",
"phantomjs.cli.args" : ["--ignore-ssl-errors=true"]
},
"chrome": {
"browserName": "chrome",
"javascriptEnabled": true,
"acceptSslCerts": true,
"chromeOptions": {
"args": [
"start-fullscreen"
]
}
}
}
}
}