Skip to content

Instantly share code, notes, and snippets.

@lukasbach
Created November 27, 2018 08:50
Show Gist options
  • Save lukasbach/f121ec9a4b7a7c337d2ebb0140476d37 to your computer and use it in GitHub Desktop.
Save lukasbach/f121ec9a4b7a7c337d2ebb0140476d37 to your computer and use it in GitHub Desktop.
nightwatch config
{
standalone:true,
src_folders:[
'__nightwatch__/testOrchestration'
],
output_folder:'reports',
custom_assertions_path:'',
page_objects_path:'__nightwatch__/pageObjects',
globals_path:'',
selenium:{
start_process:true,
server_path:'C:\\Users\\***\\Documents\\dev\\***\\node_modules\\selenium-server\\lib\\runner\\selenium-server-standalone-3.14.0.jar',
log_path:'',
port:4444,
cli_args:{
'webdriver.chrome.driver':'node_modules/.bin/chromedriver.cmd',
'webdriver.gecko.driver':'node_modules/.bin/geckodriver.cmd',
'webdriver.edge.driver':'C:\\Program Files (x86)\\Microsoft Web Driver\\MicrosoftWebDriver.exe'
}
},
test_settings:{
default:{
selenium_port:4444,
selenium_host:'localhost',
silent:true,
globals:[
Object
],
desiredCapabilities:[
{
marionette:true,
enableVNC:true,
browserName:'chrome',
version:'70.0'
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment