schickling/chromeless

Access console.error output?

開放

#219 建立於 2017年8月11日

 (1 則留言) (0 個反應) (0 位負責人)TypeScript (606 個分叉)batch import
discussionfeaturehelp wanted

倉庫指標

星標
 (13,240 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南