docs: def on_response(self, msg: Dict[str, str]) -> None:
          """Run when get response from browser."""
          response = msg.get('data', False)
          if response:
              task = self.__tasks.pop(msg.get('reqid'), False)
              if task and not task.cancelled() and not task.done():
                  task.set_result(msg.get('data'))