The things a page does that are not visible on it: messages to the console, a request over the network, a task that finishes after a beat. Trigger them here and read them back with the tools built for exactly that.
Read the console and the request with browser_diagnose (its source setting picks one or both), and pause for the slow result with browser_wait.
browser_diagnose · browser_wait
Trigger some signals
Each button is harmless: the log writes to the console, the fetch pulls a small same-origin JSON file, the slow task just waits.
The slow task finished. (browser_diagnose and browser_wait both had something to catch.)