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

贡献者指南