mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/ControllerHelper.java
public static WebElement findControllerMenu(final WebDriver driver) throws InterruptedException
    {
        WebDriverWait wait = new WebDriverWait(driver, 10);
        
        wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("button[id$='controllerMenu_button']")));
        NavigationHelper.collapseLeftBarOnly(driver);
        
        WebElement controllerMenuButton = driver.findElement(By.
                cssSelector("button[id$='controllerMenu_button']"));        
        return controllerMenuButton;
    }
/**
     * Find the controller menu button in the controller sidebar and collapse the left sidebar once found.  Return
     * the controller menu button element. 
     * @param driver
     *      current web driver.
     * @return
     *      Controller menu button web element.
     */
Find the controller menu button in the controller sidebar and collapse the left sidebar once found.  Return
the controller menu button element.
@param driver
current web driver.
@return
Controller menu button web element.
Find the controller menu button in the controller sidebar and collapse the left sidebar once found . Return the controller menu button element . @param driver current web driver . @return Controller menu button web element .
public static WebElement findControllerMenu(final WebDriver driver) throws InterruptedException
    {
        WebDriverWait wait = new WebDriverWait(driver, 10);
        wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("button[id$='controllerMenu_button']")));
        NavigationHelper.collapseLeftBarOnly(driver);
        WebElement controllerMenuButton = driver.findElement(By.
                cssSelector("button[id$='controllerMenu_button']"));        
        return controllerMenuButton;
    }
public static WebElement findControllerMenu ( final WebDriver driver ) throws InterruptedException { WebDriverWait wait = new WebDriverWait ( driver , 10 ) ; wait . until ( ExpectedConditions . presenceOfElementLocated ( By . cssSelector ( "button[id$='controllerMenu_button']" ) ) ) ; NavigationHelper . collapseLeftBarOnly ( driver ) ; WebElement controllerMenuButton = driver . findElement ( By . cssSelector ( "button[id$='controllerMenu_button']" ) ) ; return controllerMenuButton ; }
Find the controller menu button in the controller sidebar and collapse the left sidebar once found.
Find the controller menu button in the controller sidebar and collapse the left sidebar once found .