How to pass a enter key in search box via XLT ?
In Selenium we use this below code:-
WebElement searchEle = driver.findElement(By.xpath(locator.getProperty("search.box").toString())); searchEle.sendKeys(productName); searchEle.sendKeys(Keys.RETURN);
What is its replacement in XLT ?
i found type(), click() and check() , but all these functions use strings as arguments,
How to pass enter key code in xlt ?