The Developer Tools can be disabled via the DeveloperToolsAvailability flag (see https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#developertoolsavailability). As a developer I would like to still be able to use the developer tools apis that can be called via WebView2.CoreWebView2.CallDevToolsProtocolMethodAsync.
I looked around the available APIs but nothing seemed to work in getting the developer tools to work in the hosted scenario once they had been disabled by policy.
This would be needed for instance to access the cookie story #4 (comment), unless and until an offical API is provided. In general, there may a lot of stuff you could do with the developer tools apis while still hiding the developer tools from the user. However, in corporate environments, it is quite likely that the developr tools are disabled via policy to prevent the user from doing things they're not supposed to, causing help-desk overhead or security concerns. When hosting a browser control, this responsibility should fall to the developer relying on those features, not the admin.
AB#27617474
The Developer Tools can be disabled via the DeveloperToolsAvailability flag (see https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#developertoolsavailability). As a developer I would like to still be able to use the developer tools apis that can be called via
WebView2.CoreWebView2.CallDevToolsProtocolMethodAsync.I looked around the available APIs but nothing seemed to work in getting the developer tools to work in the hosted scenario once they had been disabled by policy.
This would be needed for instance to access the cookie story #4 (comment), unless and until an offical API is provided. In general, there may a lot of stuff you could do with the developer tools apis while still hiding the developer tools from the user. However, in corporate environments, it is quite likely that the developr tools are disabled via policy to prevent the user from doing things they're not supposed to, causing help-desk overhead or security concerns. When hosting a browser control, this responsibility should fall to the developer relying on those features, not the admin.
AB#27617474