Chrome Dev Tools is it possible to keep open even

2019-02-04 07:14发布

I need to see the network traffic for a particular site of which I have no control. The problem is that the site at one point triggers a pop-up which automatically closes when a particular upload event is completed.

The HTTP requests I need to see, are only triggered at the moment of close which is when the upload completes. As soon as the window closes, so does the Dev Tools window.

Is there any way to force it to stay open? What about IE and Firefox?

Other tools that are not browser specific are not giving me the data I need. I know Chrome will - if only it hung around long enough for me to see it.

2条回答
Root(大扎)
2楼-- · 2019-02-04 07:28

You could set an window close event breakpoint. This way the debugger stops the widnow (popup) from closing.

devtools -> scripts (or sources) -> event listener breakpoints -> Window -> close

enter image description here

Link to Chromium rfc

查看更多
叛逆
3楼-- · 2019-02-04 07:37

I use this chrome extension. It has a URL sniffer, which you can open in any window and it'll log all HTTP requests for you.

查看更多
登录 后发表回答