void (CefBrowser browser, CefFrame frame, int httpStatusCode) { System.out.println("JBCefProxyTest.onLoadEnd: " + browser.getURL() + ", status: " + httpStatusCode); if (frame.getURL().contains(TEST_HOST)) { statusCode.set(httpStatusCode); latch.countDown(); } }