Ejemplo n.º 1
0
 @When("^I type (.+) into the element found by the xpath (.+)$")
 public void iTypeIntoElementByXpath(String toType, String xPath) {
   ElementReference el = wl.getElement(By.xpath(xPath));
   wl.clearInput(el);
   el.sendKeys(toType);
 }