Files
8bitworkshop/nightwatch.json
T

63 lines
1.4 KiB
JSON

{
"src_folders": ["test/web"],
"test_settings": {
"default": {
"launch_url": "http://localhost:8000/",
"desiredCapabilities": {
"browserName": "chrome"
},
"webdriver": {
"start_process": true,
"server_path": "node_modules/.bin/chromedriver",
"port": 9515
},
"screenshots": {
"enabled": true,
"path": "",
"on_failure": true,
"on_error": true
}
},
"chrome": {
"desiredCapabilities": {
"browserName": "chrome",
"chromeOptions": {
"args": ["--headless=new", "--no-sandbox", "--disable-gpu", "--window-size=1280,1024"]
}
},
"webdriver": {
"start_process": true,
"server_path": "node_modules/.bin/chromedriver",
"port": 9515
}
},
"safari": {
"desiredCapabilities": {
"browserName": "safari",
"alwaysMatch": {
"acceptInsecureCerts": false
}
},
"webdriver": {
"port": 4445,
"start_process": true,
"server_path": "/usr/bin/safaridriver-doesntwork"
}
},
"firefox": {
"desiredCapabilities": {
"browserName": "firefox"
},
"webdriver": {
"start_process": true,
"port": 4444,
"server_path": "node_modules/.bin/geckodriver"
}
}
}
}