schickling/chromeless

Access console.error output?

Open

Aperta il 11 ago 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (13.240 star) (606 fork)batch import
discussionfeaturehelp wanted

Descrizione

Is it possible to use chromeless to monitor the console output and see if there are any error messages in the console? The use case for this would be a smoke test of the application hitting every page looking for console errors (and resource errors?) as part of our CI release.

I believe casper.js has this via their events API (remote.message),

Guida contributor