即使在窗口关闭后,Chrome Dev Tools也可以保持打开状态?

编程入门 行业动态 更新时间:2024-10-22 08:27:38
本文介绍了即使在窗口关闭后,Chrome Dev Tools也可以保持打开状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我需要查看我无法控制的特定网站的网络流量。问题是网站在一个点触发弹出窗口,当特定上传事件完成时会自动关闭。

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也可以保持打开状态?

本文发布于:2023-11-27 08:28:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1637286.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:窗口   状态   Dev   Chrome   Tools

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!