void (CefBrowser browser, CefFrame frame, CefRequest.TransitionType transitionType) { System.out.println("JBCefLoadHtmlTest.onLoadStart: " + frame.getURL()); if (frame.getURL().contains("google")) { jbCefBrowser.loadURL("https://www.jetbrains.com"); // we need some heavy website, taking time to load } }