@@ -0,0 +1,1159 @@
+package com.autonomy.abc.selenium.page;%0A%0Aimport com.hp.autonomy.frontend.selenium.util.AppPage;%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebDriver;%0Aimport org.openqa.selenium.WebElement;%0Aimport org.openqa.selenium.support.ui.ExpectedConditions;%0Aimport org.openqa.selenium.support.ui.WebDriverWait;%0A%0Apublic class ErrorPage implements AppPage %7B%0A    private WebDriver driver;%0A%0A    public ErrorPage(WebDriver driver) %7B%0A        this.driver = driver;%0A        waitForLoad();%0A    %7D%0A%0A    public String getErrorCode() %7B%0A        return driver.findElement(By.tagName(%22h1%22)).getText();%0A    %7D%0A%0A    public String getErrorTitle() %7B%0A        return driver.findElement(By.tagName(%22h3%22)).getText();%0A    %7D%0A%0A    public String getErrorDescription() %7B%0A        return driver.findElement(By.cssSelector(%22.error-desc p%22)).getText();%0A    %7D%0A%0A    public WebElement redirectButton() %7B%0A        return driver.findElement(By.tagName(%22a%22));%0A    %7D%0A%0A    @Override%0A    public void waitForLoad() %7B%0A        new WebDriverWait(driver, 20)%0A                .withMessage(%22loading error page%22)%0A                .until(ExpectedConditions.presenceOfElementLocated(By.tagName(%22a%22)));%0A    %7D%0A%7D%0A

Add error page to represent 401, 500 pages etc