How to clear cache and cookies of Microsoft Edge Webview2 Runtime

Jacob Hu 1 Reputation point
2022-11-13T15:25:40.623+00:00

How to clear cache and cookies of Microsoft Edge Webview2 Runtime?
Thank you!

Microsoft Edge | Microsoft Edge development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 57,831 Reputation points Volunteer Moderator
    2022-11-13T15:57:41.19+00:00

    Hi @Jacob Hu

    It looks like cache and cookies are stored "in the user data folder. By default the user data folder is distinct for each host executable but you can change the user data folder. You can read more about managing user data folders in the WebView2 documentation." (answer by David Risney)

    Cited from https://stackoverflow.com/questions/66438776/where-does-webview2-store-cookies-on-win-10

    Read more about managing User Data Folders:

    https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/user-data-folder?view=webview2-dotnet-1.0.705.50&tabs=win32

    -------------------------------------------

    If this is helpful please accept answer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.