WebSocketRoute | Playwright
Whenever a WebSocket route is set up with page.routeWebSocket() or browserContext.routeWebSocket(), the WebSocketRoute object allows to handle the WebSocket, like an actual server would do.