We run JS functionality / integration tests (in the browser) through CI. These include synchronous and asynchronous tests using the YUI testing scheme. Tests are conducted, the results are collected and sent to the user resulting file.
One of the problems we encountered is that tests fail from time to time due to a JS exception.
I'm curious if there is a way to somehow listen to something that goes to the browser console, be it console.debug () or the exception information. Our target browsers for this project are Chrome and Safari.
Any thoughts?
source
share