Search in sources :

Example 1 with Button

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

the class AbstractPage method clickButton.

@ActionTitle("click the button")
public void clickButton(String elementTitle) throws PageException {
    Button element = (Button) JDIUtils.getElementByTitle(PageContext.getCurrentPage(), elementTitle);
    element.click();
}
Also used : Button(com.epam.jdi.uitests.web.selenium.elements.common.Button) ActionTitle(ru.sbtqa.tag.pagefactory.annotations.ActionTitle)

Aggregations

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