我需要在 Google Chrome 中打开的某个页面上捕获来自服务器的 websockets 响应。我可以从网络->WS 面板中的开发人员工具中看到它们。我可以通过创建浏览器扩展或注入(inject)脚本来捕获它们吗?
最佳答案
您可以使用 Wireshark 完成所有操作,但如果没有 chrome,那就不行了。
With the updated Chrome Dev Tools, you can now see the WebSocket traffic coming and going to and from your browser without using tools like Wireshark
关于javascript - 捕获 Google Chrome Websocket 事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35887147/