我需要查看我无法控制的特定网站的网络流量。问题是网站在一个点触发弹出窗口,当特定上传事件完成时会自动关闭。
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.
我需要查看的HTTP请求,仅在关闭时触发,即上载完成时。一旦窗口关闭,开发工具窗口也会关闭。
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.
有没有办法强制它保持打开状态? IE和Firefox怎么样?
Is there any way to force it to stay open? What about IE and Firefox?
非浏览器特定的其他工具不能提供我需要的数据。我知道Chrome会 - 如果它只挂了足够长的时间让我看到它。
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.
推荐答案你可以设置窗口关闭事件断点。这样调试器就会阻止widnow(弹出窗口)关闭。
You could set an window close event breakpoint. This way the debugger stops the widnow (popup) from closing.
devtools - > 脚本 (或 sources ) - > 事件监听器断点 - > 窗口 - > 关闭
devtools -> scripts (or sources) -> event listener breakpoints -> Window -> close
链接到 Chromium rfc
更多推荐
即使在窗口关闭后,Chrome Dev Tools也可以保持打开状态?
发布评论