title: How to use puppeteer to dump WebSocket data
body: <p>I want to get websocket data in this page <a href="https://upbit.com/exchange?code=CRIX.UPBIT.KRW-BTC" rel="noreferrer">https://upbit.com/exchange?code=CRIX.UPBIT.KRW-BTC</a>, its websocket URL is dynamic and only valid during the first connection, the second time you connect to it it will not send data anymore.</p>
  
  <p><a href="https://i.stack.imgur.com/DLWy7.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/DLWy7.jpg" alt="enter image description here"></a></p>
  
  <p>So I wonder that maybe headless chrome can help me to monitor the websocket data. </p>
  
  <p>Any ideas? Thanks!</p>