Hello ,
I have tried to inject java object into browser application and got the below ERROR.
Please tell me any other possibilities to use Java class to browser application
INFO 05.02.2021 11:35:34.908 (de.espirit.firstspirit.client.gui.applications.jxbrowser4.ChromeEngine): ConsoleEvent{lineNumber=1, message='Uncaught TypeError: window.$FS_CREATE_PROXY is not a function', source='https://domain'}
INFO 05.02.2021 11:42:44.927 (de.espirit.firstspirit.client.gui.applications.jxbrowser4.ChromeEngine): ConsoleEvent{lineNumber=1, message='Uncaught TypeError: Cannot read property 'getInput' of undefined', source='https://domain/polyfills-es2015.38e029897895239f5105.js'}
browserApplication.inject(new JavaProxy(), "proxy");
JS Code:
browserApplication.executeScript("window.proxy.getInput()")
Help me solve this issue.