ActionsGenerator { public Actions builder() { return new Actions(); } ActionsGenerator(String mouseObject, String keyboardObject, String actionObject); Keyboard keyboard(); Mouse mouse(); Actions builder();  }
@Test public void generateCodeActionClick() throws Exception { assertThat(this.action.builder().click(), is(equalTo("builder.click()"))); }
@Test public void generateCodeActionClickWebElement() throws Exception { assertThat(this.action.builder().click(altWebElement), is(equalTo("builder.click(driver.findElement(By.xpath(\" }
@Test public void generateCodeActionClickAndHold() throws Exception { assertThat(this.action.builder().clickAndHold(), is(equalTo("builder.clickAndHold()"))); }
@Test public void generateCodeActionClickWebElementAndHold() throws Exception { assertThat(this.action.builder().clickAndHold(altWebElement), is(equalTo("builder.clickAndHold(driver.findElement(By.xpath(\" }
@Test public void generateCodeActionDoubleClick() throws Exception { assertThat(this.action.builder().doubleClick(), is(equalTo("builder.doubleClick()"))); }
@Test public void generateCodeActionDoubleClickWebElement() throws Exception { assertThat(this.action.builder().doubleClick(altWebElement), is(equalTo("builder.doubleClick(driver.findElement(By.xpath(\" }
@Test public void generateCodeActionContextClick() throws Exception { assertThat(this.action.builder().contextClick(altWebElement), is(equalTo("builder.contextClick(driver.findElement(By.xpath(\" }
@Test public void generateCodeDragAndDropToElement() throws Exception { assertThat(this.action.builder().dragAndDrop(altWebElement, webElement), is(equalTo("builder.dragAndDrop(driver.findElement(By.xpath(\" }
@Test public void generateCodeDragAndDropToLocation() throws Exception { assertThat(this.action.builder().dragAndDrop(altWebElement, "1", "200"), is(equalTo("builder.dragAndDrop(driver.findElement(By.xpath(\" }
@Test public void generateCodeActionMoveByOffset() throws Exception { assertThat(this.action.builder().moveByOffset("200", "30"), is(equalTo("builder.moveByOffset(200, 30)"))); }
@Test public void generateCodeActionMoveToElement() throws Exception { assertThat(this.action.builder().moveToElement(webElement), is(equalTo("builder.moveToElement(driver.findElement(By.xpath(\" }
@Test public void generateCodeActionMoveToElementWithOffest() throws Exception { assertThat(this.action.builder().moveToElement(webElement, "25", "48"), is(equalTo("builder.moveToElement(driver.findElement(By.xpath(\" }
@Test public void generateCodeActionRelease() throws Exception { assertThat(this.action.builder().release(), is(equalTo("builder.release()"))); }
@Test public void generateCodeActionReleaseAtWebElement() throws Exception { assertThat(this.action.builder().release(webElement), is(equalTo("builder.release(driver.findElement(By.xpath(\" }
@Test public void generateCodeActionSendKeys() throws Exception { assertThat(this.action.builder().sendKeys("foobar"), is(equalTo("builder.sendKeys(\"foobar\")"))); }
@Test public void generateCodeActionSendKeysAtElement() throws Exception { assertThat(this.action.builder().sendKeys(webElement, "foobar"), is(equalTo("builder.sendKeys(driver.findElement(By.xpath(\" }
@Test public void generateCodeActionPerform() throws Exception { assertThat(this.action.builder().perform(), is(equalTo("builder.perform()"))); }
@Test public void generateCodeActionKeyDown() throws Exception { assertThat(this.action.builder().keyDown(Keys.ENTER), is(equalTo("builder.keyDown(Keys.ENTER)"))); }
@Test public void generateCodeActionKeyDownAtElement() throws Exception { assertThat(this.action.builder().keyDown(webElement, Keys.ENTER), is(equalTo("builder.keyDown(driver.findElement(By.xpath(\" }
@Test public void generateCodeActionKeyUp() throws Exception { assertThat(this.action.builder().keyUp(Keys.ENTER), is(equalTo("builder.keyUp(Keys.ENTER)"))); }
@Test public void generateCodeActionKeyUpAtElement() throws Exception { assertThat(this.action.builder().keyUp(webElement, Keys.ENTER), is(equalTo("builder.keyUp(driver.findElement(By.xpath(\" }