Hi,
I am new to JCEF and I am in the process of trying to send some input values from my Java code to the Javascript code for the HTML loaded on my jcef browser and trying to execute the Javascript code with the arguments I send from my Java code. I came across a function called executeJavaScript() for doing this but somehow I do not understand how to use this code in my application (as nothing happens in my code) ..
I tried it as simple as this browser.executeJavaScript("alert('ExecuteJavaScript works!');","<my URL> ", 0);
but nothing seems to happen when the browser loads .. Am I missing something ? Can someone help me ? Should I do something in my HTML side? (So far I only have a button in my HTML page , no script tag or anything )