Skip to content
Discussion options

You must be logged in to vote

It is not possible to user Edge browser's user data folder as WebView2s. We don't support sharing browsing context between WebView2s and browsers.

It seems that you have already read https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/user-data-folder?tabs=win32. If you are a packaged app, the default UDF is pretty good and you don't have to specify a custom UDF. Otherwise, you should specify a custom folder and remove the folder when the app is uninstalled. WebView2 needs to store files somewhere and the data stored could be sensitive.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by victorhuangwq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants