@Override
  public boolean equals(Object o) {
    if (!(o instanceof Dimension)) {
      return false;
    }

    Dimension other = (Dimension) o;
    return other.width == width && other.height == height;
  }
Similar to Point - implement locally to avoid depending on GWT.
selendroid-server/src/main/java/io/selendroid/server/android/internal/Dimension.java