@Test
  public void shouldGetLocationOfElement() {
    openStartActivity();
    WebElement button = driver().findElement(By.id("waitingButtonTest"));
    Point location = button.getLocation();
    Assert.assertEquals(location.x, 0);
    // this is not perfect but guarantees that it works on different screen sizes
    Assert.assertTrue(location.y >= 247);
  }
Based on the default test emulator used to verify build that has a resolution of 320x480
pixels.
selendroid-test-app/src/test/java/io/selendroid/nativetests/NativeElementInteractionTest.java