I’m playing with Chromium’s headless web browser API. Based on chrome_remote_shell source code, I came up with the following code: Here’s example output: I noticed that I get a long stream of messages, last one of them being Network.loadingFinished, but I got this one for multiple requestIds. How can I modify my script so that it terminates when the page