/BrowserLogs-WebdriverJS-Selenium-

A Javascript console logger for errors,warnings and information in the Selenium Webdriver JS Test cases.

Primary LanguageJavaScriptMIT LicenseMIT

Selenium - JSConsoleLogger

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

-Usage- :###

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);
        });

-Files Generated- :-

  • Errors.json

  • Warnings.json

  • Infos.json