Automate Chrome Dev Tools

I am trying to detect memory leaks in my web application. I have a simple procedure:

Refresh, start recording, collect garbage, press a button, press another button, collect garbage, press a button, press another button, collect garbage, stop recording.

Is there a way to automate this process, so I don’t need to manually press it every time I change sth in the source code, do I need to re-evaluate the timeline?

(I am on Mac OS)

+5
source share

Source: https://habr.com/ru/post/1268129/


All Articles