@Test
  public void shouldExecuteSimpleJavaScript() {
    openStartActivity();

    Object translatedText =
        ((JavascriptExecutor) driver()).executeScript("getL10nKeyTranslation", "button");
    Assert.assertEquals(translatedText, "EN Button");
  }
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