mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/observation/ObservationHelper.java
public static void toggleObservationPanel(WebElement panel)
    {
        WebDriver driver = WebDriverFactory.retrieveWebDriver();
        WebElement toggler = panel.findElement(By.cssSelector("a[id*='toggler']"));
        toggler.click();
        
        WebDriverWait wait = new WebDriverWait(driver, 30);
        
        wait.until(ExpectedConditions.visibilityOf(panel.findElement(
                By.cssSelector("div[id$='observationPanel_content']"))));
    }
/**
     * Toggles the observation panel.
     * @param panel
     *  the panel to toggle
     */
Toggles the observation panel.
@param panel
the panel to toggle
Toggles the observation panel . @param panel the panel to toggle
public static void toggleObservationPanel(WebElement panel)
    {
        WebDriver driver = WebDriverFactory.retrieveWebDriver();
        WebElement toggler = panel.findElement(By.cssSelector("a[id*='toggler']"));
        toggler.click();
        WebDriverWait wait = new WebDriverWait(driver, 30);
        wait.until(ExpectedConditions.visibilityOf(panel.findElement(
                By.cssSelector("div[id$='observationPanel_content']"))));
    }
public static void toggleObservationPanel ( WebElement panel ) { WebDriver driver = WebDriverFactory . retrieveWebDriver ( ) ; WebElement toggler = panel . findElement ( By . cssSelector ( "a[id*='toggler']" ) ) ; toggler . click ( ) ; WebDriverWait wait = new WebDriverWait ( driver , 30 ) ; wait . until ( ExpectedConditions . visibilityOf ( panel . findElement ( By . cssSelector ( "div[id$='observationPanel_content']" ) ) ) ) ; }
Toggles the observation panel.
Toggles the observation panel .