@Test
  @Ignore("Always throws a StaleElementReferenceException")
  public void shouldGetBodyDOMElementViaJavascript() {
    openWebdriverTestPage(HtmlTestData.XHTML_TEST_PAGE);
    WebElement bodyByJS = (WebElement) driver().executeScript("return document.body;");
    Assert.assertEquals("body", bodyByJS.getTagName());
  }
Element finding test for the web view part of selendroid.

@author ddary
selendroid-test-app/src/test/java/io/selendroid/webviewdrivertests/WebElementFindingTest.java