code: def response_handler(msg: Dict[str, str]) -> None:
      
      from wdom.document import getElementByWdomId
      id = msg['id']
      elm = getElementByWdomId(id)
      if elm:
          elm.on_response(msg)
      else:
          logger.warning('No such element: wdom_id={}'.format(id))
docs: Handle response sent by browser.