Search in sources :

Example 6 with MutableCapabilities

use of org.openqa.selenium.MutableCapabilities in project zalenium by zalando.

the class ZaleniumConsoleServlet method getRequestQueue.

private String getRequestQueue() {
    StringBuilder requestQueue = new StringBuilder();
    for (MutableCapabilities req : getRegistry().getDesiredCapabilities()) {
        Map<String, String> pendingRequest = new HashMap<>();
        pendingRequest.put("{{pendingRequest}}", req.toString());
        requestQueue.append(templateRenderer.renderSection("{{requestQueue}}", pendingRequest));
    }
    return requestQueue.toString();
}
Also used : HashMap(java.util.HashMap) MutableCapabilities(org.openqa.selenium.MutableCapabilities)

Aggregations

MutableCapabilities (org.openqa.selenium.MutableCapabilities)6 ArrayList (java.util.ArrayList)2 VisibleForTesting (com.google.common.annotations.VisibleForTesting)1 FactoryModuleBuilder (com.google.inject.assistedinject.FactoryModuleBuilder)1 JenkinsServer (com.offbytwo.jenkins.JenkinsServer)1 BrowserStackRemoteProxy (de.zalando.ep.zalenium.proxy.BrowserStackRemoteProxy)1 DockerSeleniumRemoteProxy (de.zalando.ep.zalenium.proxy.DockerSeleniumRemoteProxy)1 DockerSeleniumStarterRemoteProxy (de.zalando.ep.zalenium.proxy.DockerSeleniumStarterRemoteProxy)1 SauceLabsRemoteProxy (de.zalando.ep.zalenium.proxy.SauceLabsRemoteProxy)1 TestingBotRemoteProxy (de.zalando.ep.zalenium.proxy.TestingBotRemoteProxy)1 CommonProxyUtilities (de.zalando.ep.zalenium.util.CommonProxyUtilities)1 DockerContainerMock (de.zalando.ep.zalenium.util.DockerContainerMock)1 ActivityPageFactory (io.blueocean.ath.factory.ActivityPageFactory)1 BranchPageFactory (io.blueocean.ath.factory.BranchPageFactory)1 ClassicPipelineFactory (io.blueocean.ath.factory.ClassicPipelineFactory)1 FreestyleJobFactory (io.blueocean.ath.factory.FreestyleJobFactory)1 MultiBranchPipelineFactory (io.blueocean.ath.factory.MultiBranchPipelineFactory)1 PullRequestsPageFactory (io.blueocean.ath.factory.PullRequestsPageFactory)1 RunDetailsArtifactsPageFactory (io.blueocean.ath.factory.RunDetailsArtifactsPageFactory)1 RunDetailsPipelinePageFactory (io.blueocean.ath.factory.RunDetailsPipelinePageFactory)1