Last active
August 21, 2017 20:12
-
-
Save imRohan/106351826fdd8a5e279ea2e53e8455da to your computer and use it in GitHub Desktop.
Nightwatch Config for Gecko and ChromeDriver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"src_folders": ["tests"], | |
"output_folder": "reports", | |
"selenium" : { | |
"start_process" : true, | |
"server_path" : "./node_modules/selenium-server/lib/runner/selenium-server-standalone-3.4.0.jar", | |
"log_path" : "", | |
"port" : 4444, | |
"start_session": true, | |
"cli_args" : { | |
"webdriver.chrome.driver" : "./node_modules/chromedriver/lib/chromedriver/chromedriver", | |
"webdriver.gecko.driver": "./node_modules/geckodriver/bin/geckodriver" | |
} | |
}, | |
"test_settings" : { | |
"default" : { | |
"launch_url" : "http://0.0.0.0:8080", | |
"selenium_port": 4444, | |
"selenium_host": "0.0.0.0", | |
"silent": true, | |
"screenshots" : { | |
"enabled" : false, | |
"path" : "" | |
}, | |
"desiredCapabilities": { | |
"browserName": "firefox", | |
"marionette": true | |
} | |
}, | |
"chrome" : { | |
"desiredCapabilities": { | |
"browserName": "chrome", | |
"javascriptEnabled": true, | |
"acceptSslCerts": true, | |
"chromeOptions": { | |
"args": ["start-fullscreen", "--no-sandbox"] | |
} | |
} | |
}, | |
"firefox": { | |
"desiredCapabilities": { | |
"browserName": "firefox", | |
"marionette": true, | |
"javascriptEnabled": true, | |
"acceptSslCerts": true | |
} | |
}, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment