Clearing the cache of Edge WebView control
While troubleshooting embedded WebView control based on the new Chromium based Edge I found handy to clear the cache to remove all the cookies and stored passwords to start fresh, in order to do so there isn't any native API call yet therefore I need to do it manually.
First, make sure the app is not running and kill the host process:
Get-Process WWAHost | Stop-Process
Then remove the cache in user profile:
Remove-Item -Force -Recurse "C:\Users\$($env:USERNAME)\AppData\Local\Packages\Microsoft.Win32WebViewHost_cw5n1h2txyewy\AC\#!123"
Issue tracking the availability of the API call to clear the cache is on Github