I\'m using Protractor to test AngularJS
I want to check that at the end of the test no uncaught exceptions occurred and were printed to the browser console.
Is t
How @velochy stated there is now an own package for the module: https://www.npmjs.com/package/protractor-console-plugin
You can use it in your protractor.conf:
plugins: [{
package: 'protractor-console-plugin',
failOnWarning: {Boolean} (Default - false),
failOnError: {Boolean} (Default - true),
logWarnings: {Boolean} (Default - true),
exclude: {Array of strings and regex} (Default - [])
}]