Receive message from the backend or wait unilt next message.

def recv(self):
        """Receive message from the backend or wait unilt next message."""
        try:
            message = self.ws.recv()
            return json.loads(message)
        except websocket._exceptions.WebSocketConnectionClosedException as ex:
            raise SelenolWebSocketClosedException() from ex