public Dimension getSize() {
    JSONObject dimension = (JSONObject) driver.executeAtom(AndroidAtoms.GET_SIZE, null, this);
    try {
      return new Dimension(dimension.getInt("width"), dimension.getInt("height"));
    } catch (JSONException e) {
      throw new SelendroidException(e);
    }
  }
@return a {@link Point} where x is the width, and y is the height.
selendroid-server/src/main/java/io/selendroid/server/model/AndroidWebElement.java