在Google Chrome开发者工具的“网络"标签中捕获下载 [英] Capture Downloads in the Network Tab of Google Chrome Developer Tools

查看:138
本文介绍了在Google Chrome开发者工具的“网络"标签中捕获下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

"Google Chrome开发者工具"窗口中的网络"标签几乎显示了所有发出的http请求,但是当http请求导致文件被下载时,似乎没有捕获任何内容.

The Network tab in the Google Chrome Developer Tools window shows almost all http requests made, but does not seem to capture anything when the http request results in a file being downloaded.

如何在Google Chrome浏览器中捕获下载请求?

How can I capture download requests in Google Chrome?

推荐答案

Google Chrome已更新为支持网络"标签中的下载

这个问题是在2018年2月提出的,当时Google Chrome浏览器不支持在网络"标签中进行下载.

This question was asked in February of 2018, and at the time Google Chrome did not support downloads in the Network tab.

我已经通过下载64.0.3282.140版本的Google Chrome浏览器对此进行了验证.

I have verified this by downloading the 64.0.3282.140 build of Google Chrome.

然后尝试以下载Spotify为例,发现网络"标签中没有任何事件.

And then attempted to download Spotify as an example and found no event appear in the network tab.

2019年或以后发布的任何Google Chrome版本都会捕获网络"标签中的所有下载请求.

Any Google Chrome version released in 2019 or later will capture all download requests in the Network tab.

这篇关于在Google Chrome开发者工具的“网络"标签中捕获下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆