Chrome Dev Tools is it possible to keep open even after window closes?

前端 未结 2 1510
长情又很酷
长情又很酷 2020-12-29 03:56

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 wh

相关标签:
2条回答
  • 2020-12-29 04:46

    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

    0 讨论(0)
  • 2020-12-29 04:48

    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.

    0 讨论(0)
提交回复
热议问题