@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); }
@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); }