diese Einstellungen Versuchen (Nightwatch.js Datei), ist es für mich gearbeitet
var path = require('path');
var appPath = path.join(process.cwd(), '<your app path>');// .app file
module.exports = {
"src_folders": ["./tests/"],
"globals_path": './lib/globals/Globals.js',
"selenium": {
"start_process": true,
"server_path": "node_modules/selenium-server/lib/runner/selenium-server-standalone.jar",
"log_path": "./results",
"host": "127.0.0.1",
"port": 4444,
"cli_args": {
"webdriver.chrome.driver": "./node_modules/.bin/chromedriver"
}
},
"test_settings": {
"default": {
"globals" : {
"waitForConditionTimeout" : 20000,
},
"launch_url": "http://localhost:4723/wd/hub",
"selenium_host": "localhost",
"selenium_port": 4723,
"silent": true,
"output": true,
"screenshots": {
"enabled": false,
"path": ""
},
"exclude": ['nightwatch-config.js', 'pageObjects']
},
"ios-sim": {
"desiredCapabilities": {
"fullReset": false,
"app": appPath,
"platformName": "iOS",
"platformVersion": "9.0",
"deviceName": "iPhone 5s"
}
}
}
};