@@ -0,0 +1,2110 @@
+package com.autonomy.abc.selenium.page.search;%0A%0Aimport com.hp.autonomy.frontend.selenium.util.AppElement;%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 DocumentViewer extends AppElement implements AppPage %7B%0A    private DocumentViewer(WebDriver driver) %7B%0A        super(driver.findElement(By.id(%22colorbox%22)), driver);%0A    %7D%0A%0A    public static DocumentViewer make(WebDriver driver) %7B%0A//        new WebDriverWait(driver, 10).until(ExpectedConditions.visibilityOfElementLocated(By.id(%22cboxClose%22)));%0A        DocumentViewer documentViewer = new DocumentViewer(driver);%0A        documentViewer.loadOrFadeWait();%0A        documentViewer.waitForLoad();%0A        return documentViewer;%0A    %7D%0A%0A    private WebElement closeButton() %7B%0A        return findElement(By.id(%22cboxClose%22));%0A    %7D%0A%0A    public void close() %7B%0A        closeButton().click();%0A        loadOrFadeWait();%0A    %7D%0A%0A    private WebElement prevButton() %7B%0A        return findElement(By.id(%22cboxPrevious%22));%0A    %7D%0A%0A    public void previous() %7B%0A        prevButton().click();%0A        waitForLoad();%0A    %7D%0A%0A    private WebElement nextButton() %7B%0A        return findElement(By.id(%22cboxNext%22));%0A    %7D%0A%0A    public void next() %7B%0A        nextButton().click();%0A        waitForLoad();%0A    %7D%0A%0A    public WebElement frame() %7B%0A        return findElement(By.tagName(%22iframe%22));%0A    %7D%0A%0A    private String getRowText(int row) %7B%0A        return findElement(By.cssSelector(%22tr:nth-child(%22 + row + %22) td.break-all%22)).getText();%0A    %7D%0A%0A    public String getDomain() %7B%0A        return getRowText(1);%0A    %7D%0A%0A    public String getIndex() %7B%0A        return getRowText(2);%0A    %7D%0A%0A    public String getReference() %7B%0A        return getRowText(3);%0A    %7D%0A%0A    @Override%0A    public void waitForLoad() %7B%0A        new WebDriverWait(getDriver(), 30).until(ExpectedConditions.invisibilityOfElementLocated(By.className(%22view-server-loading-indicator%22)));%0A    %7D%0A%7D%0A

Add DocumentViewer to represent the pane in search results