diff --git a/diagnostics/README.md b/diagnostics/README.md index 8986e5ff5..e81212320 100644 --- a/diagnostics/README.md +++ b/diagnostics/README.md @@ -6,4 +6,5 @@ This folder contains directions for gathering various detailed diagnostics/logs - [Installer Logs](install.md): Installer logs include information about any errors that WV2's installer/updater hit when trying to install or update the WV2 runtime. - [GPU Info](gpu.md): GPU logs include details on the user's GPU and any potential graphics or rendering issues. - [Network Logs](network.md): Network logs include the network requests, responses, and details on any errors when loading files. -- [Code Integrity](code_integrity.md): how to root cause STATUS_INVALID_IMAGE_HASH errors. \ No newline at end of file +- [Code Integrity](code_integrity.md): how to root cause STATUS_INVALID_IMAGE_HASH errors. +- [Test in Canary](test_canary.md): how to test new WebView2 runtime changes by using Edge Canary. diff --git a/diagnostics/test_canary.md b/diagnostics/test_canary.md new file mode 100644 index 000000000..0b2cb98a9 --- /dev/null +++ b/diagnostics/test_canary.md @@ -0,0 +1,13 @@ +# Test Feature in Canary + +The latest runtime changes are first shipped in the WebView2 runtime in the Edge Canary Browser. If you would like to test the new changes or help us to verify that your issue is fixed with your application, here's a suggested way to do so: + +1. Download [Edge Canary](https://www.microsoft.com/en-us/edge/download/insider) +2. Run the following command in a PowerShell with Administrative Priviledges: + `REG ADD HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind /v /t REG_DWORD /d 1` +3. Restart your application, and you should be able to see that your application picks up the latest runtime. + +To remove the registry key added, run the following: +`REG DELETE HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind /v ` + +For more information, read the documentation on [Test upcoming APIs and features](https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/set-preview-channel)