mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
How to Achieve addDevToolsExtension? #129
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GitYonglin on GitHub (Feb 22, 2018).
Originally assigned to: @GregorBiswanger on GitHub.
BrowserWindow.addDevToolsExtension();
method does not exist
@GregorBiswanger commented on GitHub (Feb 25, 2018):
Use please:
var mainWindow = Electron.WindowManager.BrowserWindows.First(); mainWindow.WebContents.OpenDevTools();@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?
@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 !