when(we2.getTagName()).thenReturn("div");
try {
FluentWebElement span = fwd.div(ID_A).div(ID_B);
doThrow(new RuntimeException()).when(we2).findElement(tagName("span"));
span.span();
fail("should have barfed");
} catch (FluentExecutionStopped e) {
assertThat(e.getMessage(), equalTo("RuntimeException during invocation of: ?.div(By.id: idA).div(By.id: idB).span()"));
assertThat(e.getCause(), notNullValue());
verify(wd).executeScript("op", we2, "value");