1.0.5 • Published 1 year ago

codeceptjs-browserlogs-plugin v1.0.5

Weekly downloads
213
License
MIT
Repository
github
Last release
1 year ago

Browser Logs Recorder for CodeceptJS

CodeceptJs plugin that will save browser logs for each failed test. Use this plugin if your web app generates useful logs recorded by the browser.

The following helpers are supported:

  • Playwright
  • Protractor
  • Puppeteer
  • TestCafe
  • WebDriver

Setup

Install the plugin using:

npm i codeceptjs-browserlogs-plugin --save

Add the helper to your codecept.conf.js file:

plugins: {
  BrowserLogsOnFail: {
    enabled: true,
    uniqueNames: true,
    require: 'codeceptjs-browserlogs-plugin'
  },
}

Set the enabled property explicitly to false to disable the plugin. To generate unique names for each log file (useful in automated testing) use the uniqueNames property.

And that is basically it. No other configuration is required.

1.0.5

1 year ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

3 years ago

1.0.0

4 years ago

0.0.9

4 years ago