public void focus() {
        new Actions(getWebDriver()).moveToElement(getInput()).click().perform();
    }
Sets tje focus to the element.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/base/AbstractInputComponent.java