electron-agent-bridge
    Preparing search index...
    • Give a page a stable name agents can use instead of its id (e.g. nameTarget(win.webContents, 'settings')). Works before or after the bridge starts, and is a harmless no-op while it is off.

      Parameters

      • contents: WebContents
      • name: string

      Returns void