BrowserApplication Inject Java Object not wokring
Author: Jamuna
Publication Date: 2/5/2021 6:23
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.
Tags: browserapplication, execute, inject, type error
-
Author: brandelc - 1/21/2022 13:53
Hi,
have you been able to solve this issue?
I am also not succeeding in injecting the Java object into the browser and keep getting "Cannot read property '<my method name>' of undefined" errors when I try to call a method on it.
Any hints how this can be debugged?
Thanks,
Chris
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar