我想跟踪单击链接时发生的网络活动。问题是这个链接打开了一个新标签,显然开发工具在每个打开的标签上都能工作。“在导航时保存日志”没有帮助。

我目前的解决方案是移动到FireFox和HttpFox没有这个问题。我想知道Chrome的开发人员是如何管理的,这听起来相当基本(当然我已经搜索了答案,没有找到任何有用的东西)。


当前回答

在Chrome 61.0.3163.100,你现在有以下选项可用。 它是通过去Chrome开发工具设置访问。它在底部。

其他回答

免责声明:由HttpWatch的开发者发布

Windows上的HttpWatch可以通过在“工具->选项->录音”中启用自动录音功能来记录新Chrome选项卡或窗口打开时产生的网络流量。在新窗口中单击HttpWatch图标以查看网络跟踪。

免费版将为每个请求提供URL、状态码和运行时间等基本信息。

免责声明:由HttpWatch的开发者发布

你可以这样做:

set target="any_window_name" on wanted link. click on that link once, to open it in new tab. In opened tab, open developer tools. go back to origin page and hit that link again. The result will be loaded in already prepared window with developer tools opened. You can activate "preserve log" option in dev tools (see in Konrad Dzwinel excellent answer) to catch any redirect traffic on that link. Note : most people familiar with link target ∈ { _self,_blank,_parent,_top }. But actually any name can be given, this will open a new window with that name, and any subsequent clicks on links,forms or window.open with same target value will be opened in same window. further reading - mdn : window.open , mdn : <a> tag

添加/更新target="_self"的链接 在“网络”页签中选择“导航时保留日志”。 单击链接并记录您的请求

在Chrome 61.0.3163.100,你现在有以下选项可用。 它是通过去Chrome开发工具设置访问。它在底部。

当新标签打开时,快速按F12

https://stackoverflow.com/a/13747562/660408

当我监视谷歌驱动器下载响应时,为我工作