@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    By by = (By) o;

    return toString().equals(by.toString());
  }
@param id The value of the "id" attribute to search for
@return a By which locates elements by the value of the "id" attribute.
selendroid-server/src/main/java/io/selendroid/server/model/By.java