private String getCacheKey(AndroidElement element) {
    for (Map.Entry<String, AndroidElement> entry : cache.entrySet()) {
      if (entry.getValue().equals(element)) {
        return entry.getKey();
      }
    }
    return null;
  }
Uses the generated Id to look up elements
selendroid-server/src/main/java/io/selendroid/server/model/KnownElements.java