Last active
May 3, 2019 00:30
-
-
Save waltir/c5ca2a9d68e0a4a07629592c8152916e to your computer and use it in GitHub Desktop.
how to setup a headless environment for nightwatch.js
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
// The environment below is named 'headless' and is located in our nightwatch.conf.js file. | |
"headless": { | |
"desiredCapabilities": { | |
"chromeOptions": { | |
"args": [ | |
"headless", // This is the line that tells nightwatch to run in a headless mode | |
], | |
}, | |
"browserName": "chrome", | |
"javascriptEnabled": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment