Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我总是能够生成一个 .har 文件来帮助开发人员解决问题。但最近我得到了一个空文件!PS我使用Chrome。
我正在使用 Firefox 95,我遇到了同样的问题。我注意到页面有问题将无法完全加载。选项卡中的加载指示器保持动画。
我尝试禁用缓存并强制刷新页面以使其完全加载。在那之后,我能够得到一个 HAR 文件。
所有网站都会出现这种情况吗?如果没有,请耐心等待文件导出。有时需要保存很多请求(例如一些 web socket 的东西),这需要时间。给它几分钟。