executeJavaScriptInIsolatedWorld
fun executeJavaScriptInIsolatedWorld(worldId: Double, scripts: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<electron/core/WebSource>, userGesture: Boolean = definedExternally): ERROR CLASS: Symbol not found for Promise<kotlin/Any?>(source)
A promise that resolves with the result of the executed code or is rejected if the result of the code is a rejected promise.
Works like executeJavaScript
but evaluates scripts
in an isolated context.