I
I
inDeepCode2014-08-08 15:25:43
PHP
inDeepCode, 2014-08-08 15:25:43

How to catch JS errors in codeception?

I want the console to be monitored for JS errors when executing tests.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maxaon, 2014-08-09
@inDeepCode

you can put a listener in window.onerror or if you need full output from the console - override the console object

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question