void (CefBrowser browser, boolean isLoading, boolean canGoBack, boolean canGoForward) { System.out.println("JBCefLoadHtmlTest.onLoadingStateChange: " + isLoading); if (!isLoading && latch1.getCount() < 1) { latch2.countDown(); } }