public WebElement getFor() {
        try {
            return getWebDriver().findElement(By.id(getDomAttribute("for")));
        }
        catch (NoSuchElementException | StaleElementReferenceException e) {
            return null;
        }
    }
Gets the component this label is for.

@return the {@link WebElement} this label is for or NULL if not for any
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/OutputLabel.java