When I open the dev tools right after creating a browser, they are just empty (white). When I add Thread.sleep(1000) before opening the dev tools, it works fine.
Is there any event or listener or handler I could register that tells me when the browser is ready? The "Thread.sleep" is not a good solution, I guess...