protractor-screenshot-plugin

0.0.3 • Public • Published

Screenshot Plugin

npm npm npm npm

This plugin takes a screenshot after the test failed. It can also be configured to take a screenshot after each test executed.

exports.config = {
  plugins: [{
    package: 'protractor-screenshot-plugin',

    // Screenshots will be saved in this folder
    folder: 'screenshots',           {Default - 'screenshots'}

    // take a screenshot after each test executed
    takeOnAllCases: {Boolean}        {Default - false}
 }]
};

Package Sidebar

Install

npm i protractor-screenshot-plugin

Weekly Downloads

23

Version

0.0.3

License

MIT

Unpacked Size

5.3 kB

Total Files

4

Last publish

Collaborators

  • lcmtwn