code: def send(self, message):
          
          try:
              self.ws.send(json.dumps(message))
          except websocket._exceptions.WebSocketConnectionClosedException:
              raise SelenolWebSocketClosedException()
docs: Send a the defined message to the backend.
  
          :param message: Message to be send, usually a Python dictionary.