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
Protractor 2.0.0 has introduced a new console plugin specifically for the task.
console
Add the following to the protractor configuration:
plugins: [{ path: '/path/to/node_modules/protractor/plugins/console/index.js', failOnWarning: true, failOnError: true }],