Search code examples
firefoxwebsocketfirefox-addon

Inspect Websocket Frames with Firefox Quantum


I want to inspect Websocket frames in Firefox Quantum. I haven't found an option to inspect the frames (as it's possible with Chrome Developer). Is it not possible with Firefox Quantum? Really?

What have I missed?


Solution

  • It's not possible in Firefox Quantum. There is a bug, bug 885508, which wants to allow developers to inspect websocket connections, but it has not been resolved, so you can't do it in Firefox. However, progress has been made. There was a add-on (now removed), but it doesn't work with Quantum. Some people use this addon, but it replaces native WebSockets with a custom object.


    Update: It is now possible in Firefox 71.0! More info here

    DevTools’ Network panel can now inspect WebSocket messages and automatically formats a variety of framework formats.

    To get to it:

    1. Open the developer view. (Ctrl+Shift+I)
    2. Go to the network tab.The network tab.
    3. Press the WS tab.The WS tab.
    4. (optional) Press a message to view info about it.

    enter image description here