How to Achieve addDevToolsExtension? #129

Closed
opened 2026-01-29 16:31:53 +00:00 by claunia · 3 comments
Owner

Originally created by @GitYonglin on GitHub (Feb 22, 2018).

Originally assigned to: @GregorBiswanger on GitHub.

BrowserWindow.addDevToolsExtension();
method does not exist

Originally created by @GitYonglin on GitHub (Feb 22, 2018). Originally assigned to: @GregorBiswanger on GitHub. BrowserWindow.addDevToolsExtension(); method does not exist
claunia added the question label 2026-01-29 16:31:53 +00:00
Author
Owner

@GregorBiswanger commented on GitHub (Feb 25, 2018):

Use please:

var mainWindow = Electron.WindowManager.BrowserWindows.First(); mainWindow.WebContents.OpenDevTools();

@GregorBiswanger commented on GitHub (Feb 25, 2018): Use please: ` var mainWindow = Electron.WindowManager.BrowserWindows.First(); mainWindow.WebContents.OpenDevTools(); `
Author
Owner

@4deeptech commented on GitHub (Jun 14, 2018):

@GregorBiswanger According to the Electron docs there is a way to expose the ability to load a browser extension into the electron browser window via addDevToolsExtension referenced here:

https://electronjs.org/docs/tutorial/devtools-extension

@PeachT was referencing this to be able to load up a supported Dev Tool Extension. Not opening the Dev Tools themselves.

Any way to expose that method to Electron.Net on the BrowserWindow?

@4deeptech commented on GitHub (Jun 14, 2018): @GregorBiswanger According to the Electron docs there is a way to expose the ability to load a browser extension into the electron browser window via addDevToolsExtension referenced here: https://electronjs.org/docs/tutorial/devtools-extension @PeachT was referencing this to be able to load up a supported Dev Tool Extension. Not opening the Dev Tools themselves. Any way to expose that method to Electron.Net on the BrowserWindow?
Author
Owner

@Daddoon commented on GitHub (Sep 22, 2019):

@GregorBiswanger Maybe a little off topic, but do you have any plan to support to load WebExtensions through ElectronNET ? As it seem to be supported according to the official doc:

https://electronjs.org/docs/api/browser-window#browserwindowaddextensionpath

Thanks !

@Daddoon commented on GitHub (Sep 22, 2019): @GregorBiswanger Maybe a little off topic, but do you have any plan to support to load WebExtensions through ElectronNET ? As it seem to be supported according to the official doc: https://electronjs.org/docs/api/browser-window#browserwindowaddextensionpath Thanks !
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#129