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.
nameTarget(win.webContents, 'settings')
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.