Search in sources :

Example 1 with Input

use of com.epam.jdi.uitests.web.selenium.elements.common.Input in project page-factory-2 by sbtqa.

the class AbstractPage method fillField.

@ActionTitle("fill the field")
public void fillField(String elementTitle, String value) throws PageException {
    Input element = (Input) JDIUtils.getElementByTitle(PageContext.getCurrentPage(), elementTitle);
    element.sendKeys(value);
}
Also used : Input(com.epam.jdi.uitests.web.selenium.elements.common.Input) ActionTitle(ru.sbtqa.tag.pagefactory.annotations.ActionTitle)

Aggregations

Input (com.epam.jdi.uitests.web.selenium.elements.common.Input)1 ActionTitle (ru.sbtqa.tag.pagefactory.annotations.ActionTitle)1