These are chat archives for rosshinkley/nightmare

Dec 2017
Jay Landro
Dec 27 2017 21:29

Hi gitter, I really love nightmare and am utilizing it inside containers for PDF generation, automated testing and consumer based testing. I do have one thing that is a little unclear in the docs to me.

Supposedly we can set up a listener for console events like this:

.on('console', function(type [, arguments, ...]))

These events are not firing for me, is there a reliable way you all are using to capture console events, most importantly if a console.error is thrown?