@Test
public void generateCodeActionDoubleClickWebElement() throws Exception {

    assertThat(this.action.builder().doubleClick(altWebElement), is(equalTo("builder.doubleClick(driver.findElement(By.xpath(\"//div[@id='foo']\")))")));
}