public void submit() {
    String tagName = getTagName();
    if ("button".equalsIgnoreCase(tagName) || "submit".equalsIgnoreCase(getAttribute("type"))
        || "img".equalsIgnoreCase(tagName)) {
      this.click();
    } else {
      driver.resetPageIsLoading();
      driver.executeAtom(AndroidAtoms.SUBMIT, null, this);
      driver.waitForPageToLoad();
    }
  }
@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