Skip to content

[Problem/Bug]: No way to toggle extensions developer mode #5088

Open
@Zaarrg

Description

@Zaarrg

What happened?

Hello,

The problem im facing is i require some Browser Extensions for my App but many Browser Extensions need extensions developer mode enabled. (extensions.ui.developer_mode).
But after researching for a while i could not find any way to toggle this using webview2 on my win32 c++ app.

For example that option can be set in selenium using prefs. See this stackoverflow issue.

The only current way i found to enable it is by creating a new Profile in edge Browser and then enabling extensions developer mode there in the "chrome://extensions" ui. After that i could copy that profile over to my webview2 user data folder replacing the "Default" profile. This allowed me to have the option enabled.

Also directly editing the "Secure Preferences" file in the "Default" webview2 profile is not possible as well as this file is protected. Profiles with extensions developer mode enabled have it set here to True under extensions.ui.developer_mode.

Would appreciate any help or if this is not yet possible for it to be added.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

132.0.2957.127

SDK Version

1.0.2277.86

Framework

Win32

Operating System

Windows 11

OS Version

10.0.22631

Repro steps

Try enabling extensions.ui.developer_mode

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions