Hi at all! I'm struggling with my Java application.
My problem is simple.
I have the "MessageHandler" with the "onQuery" method.
I absolutely need to execute javascript code and get its result. For example, "document.getElementById('mypassword').value" in a SYNCHRONOUSLY way.
The problem is that I cannot manage to synchronize Javascript side and Java side, because:
- "browser.getCefBrowser().executeJavaScript" and "onQuery" happens to be executed all on the same thread!!!
How can I manually synchronize them?
Please, don't suggest off-topic things like "redesign your application". This is absolutely NOT possible!
Thanks in advance!