I am facing problem in loading some webpages correctly in JavaFX webview i.e. few javascript component does not work properly. For example, javascript validations for login on this webpage does not work in JavaFX webview.
The javascript for web engine is enabled webEngine.setJavaScriptEnabled(true);
Still I am facing the issue. Is there any bug with JavaFX webview/webengine? I tested the same page in IE8, IE9 Latest version of Chrome and Firefox. It is working correctly.
I used Java8. In that we can set UserAgent as safari, webkit etc. It solved my issue. :)
For Example:
webEngine.setUserAgent("AppleWebKit/537.44");