Skip to content

Commit d2afc2b

Browse files
Add config to hide console log messages from the testing output #194
1 parent 56e0105 commit d2afc2b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

assets/config_templates/circleci-linux-chrome.conf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = {
2727
selenium_port: 4444,
2828
selenium_host: '127.0.0.1',
2929
silent: true,
30+
output: false,
3031
screenshots: {
3132
enabled: false,
3233
path: './reports/screenshots',

assets/config_templates/github-linux-chrome.conf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ module.exports = {
3737
selenium_port: 4444,
3838
selenium_host: '127.0.0.1',
3939
silent: true,
40+
output: false,
4041
screenshots: {
4142
enabled: true,
4243
path: './reports/screenshots',

nightwatch.conf.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ module.exports = {
3636
desiredCapabilities: {
3737
browserName: 'chrome',
3838
'goog:chromeOptions': {
39-
excludeSwitches: ['enable-logging'],
40-
// hides most Chrome logs// More info on Chromedriver: https://sites.google.com/a/chromium.org/chromedriver/
39+
// More info on Chromedriver: https://sites.google.com/a/chromium.org/chromedriver/
4140
//
4241
// w3c:false tells Chromedriver to run using the legacy JSONWire protocol (not required in Chrome 78)
4342
w3c: true,
@@ -80,8 +79,7 @@ module.exports = {
8079
},
8180

8281
webdriver: {
83-
start_process: false,
84-
cli_args: ['--silent']
82+
start_process: false
8583
},
8684
},
8785

0 commit comments

Comments
 (0)