schickling/chromeless

Access console.error output?

Open

#219 建立於 2017年8月11日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)TypeScript (13,240 star) (606 fork)batch import
discussionfeaturehelp wanted

描述

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),

貢獻者指南