}.withMessage("Waiting for Panel Menu group to be expanded!")
.withTimeout(getTimoutForMenuGroupToBeExpanded(), TimeUnit.MILLISECONDS);
}
public WaitingWrapper waitUntilMenuGroupCollapsed(final WebElement groupHeader) {
return new WaitingWrapperImpl() {
@Override
protected void performWait(FluentWait<WebDriver, Void> wait) {
wait.ignoring(org.openqa.selenium.remote.ErrorHandler.UnknownServerException.class).until(
new Predicate<WebDriver>() {