Skip to content

Instantly share code, notes, and snippets.

@cgrusden
Last active April 23, 2017 13:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgrusden/4d3216d867a4c97c07baadd99846623d to your computer and use it in GitHub Desktop.
Save cgrusden/4d3216d867a4c97c07baadd99846623d to your computer and use it in GitHub Desktop.
Nightwatch local development setup with Selenium Standalone server setup
{
"src_folders" : ["tests"],
"output_folder" : "reports",
"custom_commands_path" : "",
"custom_assertions_path" : "",
"page_objects_path" : "./pages",
"globals_path" : "",
"selenium" : {
"start_process" : false,
"server_path" : "./bin/selenium-server-standalone-3.3.1.jar",
"log_path" : "",
"port" : 4444,
"default_path_prefix" : "",
"cli_args" : {
"webdriver.chrome.driver" : "./bin/chromedriver"
}
},
"test_settings" : {
"default" : {
"launch_url" : "http://localhost",
"selenium_port" : 4444,
"selenium_host" : "localhost",
"silent": true,
"screenshots" : {
"enabled" : false,
"path" : ""
},
"desiredCapabilities": {
"browserName": "chrome",
"chromeOptions": {
"args": ["--incognito", "--new-window"]
}
}
},
"chrome" : {
"desiredCapabilities": {
"browserName": "chrome"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment