getIsolatedWorlds
The IDs of isolated worlds that currently exist for this frame. This does not include the main world (ID 0) or Electron's preload world (ID 999).
This can be used to discover existing isolated worlds before calling APIs such as webFrame.executeJavaScriptInIsolatedWorld(...) or contextBridge.exposeInIsolatedWorld(...).