void () { JBCefOsrHandlerBrowser browser = JBCefOsrHandlerBrowser.create("", new MyRenderHandler(), false); JBCefJSQuery jsQuery = JBCefJSQuery.create(browser); browser.createImmediately(); doTest(browser, jsQuery); }