Skip to content

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

License

Notifications You must be signed in to change notification settings

PramodDutta/BrowserLogs-WebdriverJS-Selenium-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published