Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.03 KB

README.md

File metadata and controls

23 lines (18 loc) · 1.03 KB

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