void (CefBrowser browser, CefFrame frame, int httpStatusCode) { System.out.println("JBCefLoadHtmlTest.onLoadEnd: " + frame.getURL()); if (frame.getURL().contains("jetbrains")) { latch1.countDown(); } }