K
K
Ken Jee2018-11-14 13:43:42
JavaScript
Ken Jee, 2018-11-14 13:43:42

How can I view all page events in Crome DevTools?

Is it possible to somehow view all the events that occur on the page? OnLoad, OnClick, etc. This is not about breakpoints on the Source tab, but about the events taking place in the form of a log.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xtress, 2018-11-14
@xtress

Run in console monitorEvents(document.body);See all events as they occur. If it is necessary to filter - the second argument for this function: monitorEvents(document.body, 'click');- will show all clicks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question