A Javascript console logger(From browser) in the Selenium Webdriver JS Test cases. Very Handy - Just include in your test and get the logs
###- Requirement -###
npm install path
In Your Test Add :
var jsLogs = require('jsLogs.js');
var testName = 'Test1.js';
// Add JS Logger in the After Each
afterEach(function () {
jsLogs.getLogs(testName);
});
-
Errors.json
-
Warnings.json
-
Infos.json