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();
}
Aggregations