I'm trying to record realtime data that is streamed through a WebSocket using Puppeteer. I've followed the instructions on How to use puppeteer to dump WebSocket data, but haven't had any luck so far. The Network.webSocketFrameReceived
callback is never triggered. I tried doing the same for Network.webSocketFrameSent
and other websocket events, and none of them are triggered.
I've run puppeteer with DEBUG=puppeteer:*
and dont' see the websocket events, although HTTP/Fetch events are logged. Does CDP have a limitation with binary websockets?
Using the latest stable version of Pupeeteer (1.20.0)