A
A
Arthur2018-03-26 11:32:21
JavaScript
Arthur, 2018-03-26 11:32:21

How to get errors from devtools console?

There are several files on the page that didn't load. The developer console has a path and a 404 response.
How can I log all errors from the console into a single js array?
You need to get information from the console after loading everything and everything

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Simonov, 2018-03-26
@SimasikS

https://stackoverflow.com/questions/19846078/how-t...
Well, you can try this, that is, you override console.error and add what you need to the array

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question