In Chrome, if you know the interface contained in the interface that will be changed, right-click on it and "Check item" (or go directly to it in the DOM, if it's easier for you), then right-click on the item in the DOM and select "Break On ..."> "Subtree changes" (or whatever you like).
Then this should pause JavaScript when any elements in this DOM change, allowing you to go through JS using F10, etc. and see the DOM at any time during its execution.
Of course, you can control the whole <body> if you donβt know what will change, but this may delay too many changes, depending on how dynamic your page is.
Klors source share