MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS wins over an explicit AdditionalBrowserArguments property
Open
@Navdeep-ss is already working on this.
Since Apr 29, 2026.
bug
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
I expect that when you specify AdditionalBrowserArguments when creating the webview2 argument, it would overwrite the global env variable WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS, however that is NOT the case.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
No response
Framework
Winforms
Operating System
Windows 11
OS Version
No response
Repro steps
- Set
WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTSenv variable - Set
AdditionalBrowserArgumentsproperty with different arguments - Validate which one is used
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.