package org.keycloak.testsuite.adapter.page;

import org.keycloak.testsuite.page.AbstractPageWithInjectedUrl;

/**
 * @author mhajas
 */
public abstract class SAMLServletWithLogout extends AbstractPageWithInjectedUrl {

    public void logout() {
        driver.navigate().to(getUriBuilder().queryParam("GLO", "true").build().toASCIIString());
        getUriBuilder().replaceQueryParam("GLO",null);
    }
}

package org.keycloak.testsuite.adapter.page;

import org.keycloak.testsuite.page.AbstractPageWithInjectedUrl;

import static org.keycloak.testsuite.util.WaitUtils.pause;

/**
 * @author mhajas
 */
public abstract class SAMLServletWithLogout extends AbstractPageWithInjectedUrl {

    public void logout() {
        driver.navigate().to(getUriBuilder().queryParam("GLO", "true").build().toASCIIString());
        getUriBuilder().replaceQueryParam("GLO", null);
        pause(300);
    }
}

Fix timeouts after logout from servlet