npm.io
0.0.3 • Published 7 years ago

protractor-screenshot-plugin

Licence
MIT
Version
0.0.3
Deps
0
Size
5 kB
Vulns
0
Weekly
0
Stars
1

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

Keywords