Nightwatch.js how to output message in console with Color?
Using Nightwatch.js / Visual Code studio
during e2e task , console output are colorized ...
Starting selenium server... started - PID: // in magenta
[Test] Test Suite // in blue
I tried to output a console message from my runner.js file
onsole.log('%ctarting DB-JSON test Server... started - PID: %s', 'color:yellow', process.pid)
but no way , no Colors in the output ... feedback welcome
链接地址: http://www.djcxy.com/p/87382.html