Quote:
Originally Posted by pan64
I'm sorry, but I don't understand it. Probably you need to explain better that situation.
|
Ok) I have selenium/hub where i installed nightwather. I have a simple test-script .js. Then –-link selenium-hub with node-chrome, start selenium grid - all Ok, BUT i don't understand how i have to send test-script on the my node.
This is my nightwatch.json on the Docker selenium/hub:
{
"src_folders": ["/home/project"],
"output_folder": "./reports",
"custom_commands_path": "",
"custom_assertions_path": "",
"page_objects_path": "",
"globals_path": "/home/project/globals.js",
"selenium" : {
"start_process" : true,
"server_path" : "/opt/selenium/selenium-server-standalone.jar",
"log_path" : "",
"port" : 4444,
"cli_args" : {
"webdriver.chrome.driver" : "./bin/chromedriver"
}
},
"test_settings" : {
"default" : {
"selenium_port" : 9515,
"selenium_host" : "localhost",
"default_path_prefix" : "",
"screenshots" : {
"enabled" : true,
"path" : "./screen"
},
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled": true,
"chromeOptions" : {
"args" : ["--no-sandbox", "--headless", "--disable-gpu", "--disable-extensions"]
},
"acceptSslCerts": true
}
}
}
}