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