WebdriverIO v5
sauceConnect: true,
sauceConnectOpts: {
verboseDebugging:true,
vv: true,
verbose: true,
logfile: '-',
logger:function(message) {
console.log(message);
}
},
- verboseDebugging: flag for verbose Sauce Connect logging
- vv: Use with verboseDebugging to output HTTP headers as well.
- verbose: Log output from the 'sc' process to stdout
- logfile: log file path and name, '-', to send the output to stdout
... and the logger function to pass that on to the console.
Sauce Connect Advanced Usage: https://github.com/bermi/sauce-connect-launcher#advanced-usage
WebdriverIO v6/v7
services: [
['sauce', {
sauceConnect: true,
sauceConnectOpts: {
verbose:1,
logfile: '-',
logger:function(message) {
console.log(message);
}
},
}],
],
- verbose:1 for verbose Sauce Connect logging, 2 for very verbose Sauce Connect logging
- logfile: log file path and name, '-', to send the output to stdout
... and the logger function to pass that on to the console.
Sauce Connection Options: https://docs.saucelabs.com/dev/cli/sauce-connect-proxy/