question

PrithaviNagar-9190 avatar image
0 Votes"
PrithaviNagar-9190 asked sedongKwon-8939 answered

Microsoft Edge WebView2 Runtime 92.0.902.55 Issue

Hi,

We are facing same issue .After Updating Microsoft Edge WebView2 Runtime 92.0.902.55 . Redirection not working like my URL IP:Port/web#login?name=ram when console window.location whole URL not printing (only printing upto /web ) before that in older version it was working fine . Kindly help in priority it is buggy version .

Thanks
Prithvi

@YuZhou-MSFT

ms-edgemicrosoft-graph-mail
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@PrithaviNagar-9190,
As we are mainly responsible for Lync server, your question is not in our scope. I will remove office-lync-server-edge-servers tag. Thanks for your understanding.

0 Votes 0 ·

Hi @SharonZhao-MSFT ,

Can you loop in concern team who can check showstopper issue for webview2 ?

Thanks
Prithavi

0 Votes 0 ·

Hi @PrithaviNagar-9190

Do you mean the url redirection doesn't work in your WebView2 app? Is there any error showing in console when you run the code? I made a sample with my WebView2 app which uses WebView2 Runtime 92.0.902.55, the url redirection works well.

I use the sample code like this to test. It can redirect to the footer of the page and window.location.href shows the complete url. You can refer to my code sample and make a test in your environment. If it still doesn't work on your side, could you please provide a minimal code snippet which can reproduce the issue so that we can have a test and see how to help? Thanks for your understanding.

0 Votes 0 ·
image.png (48.4 KiB)

Hi @YuZhou-MSFT

Thanks for response .Below are code snippet and screenshot for older and new version .

Public webView_2 As WebView2 = New WebView2
webView_2.Source = New System.Uri(processUrl, System.UriKind.Absolute)
118634-webview-2-issue.png


0 Votes 0 ·
webview-2-issue.png (66.3 KiB)

Hi @PrithaviNagar-9190

Which version of OS are you using? I'm using Windows 10. It looks like there's no special about the code. I use the same code as yours. I suggest that you can try AmanSharma-8742's answer to update your WebView2 package in development project and recompile it.

0 Votes 0 ·
Show more comments
VictorCasagrandi-7718 avatar image
0 Votes"
VictorCasagrandi-7718 answered

Olá @PrithaviNagar-9190 ,

Tive um problema bem parecido e resolvi da seguinte forma:

1 - Baixar o arquivo no link abaixo;

-> https://microsoft-edge.br.uptodown.com/windows/download

2 - Descompactar o arquivo em uma nova pasta;

   2.1 - Fazer uma cópia do arquivo "msedgedriver.exe" na mesma pasta;

   2.2 - Renomear o nome do arquivo "msedgedriver - Copia.exe";
           a - Para o nome "MicrosoftWebDriver.exe";

3 - Copiar os dois arquivos ("msedgedriver.exe", "MicrosoftWebDriver.exe") para a pasta do projeto;

OBS: O passo 3, tem que ser dentro da pasta debug caso for C#, ou a pasta similar do seu projeto onde ele aciona os executáveis.

Esta solução funcionou para o meu problema, o programa que estava com o problema foi desenvolvido em C# (Selenium).

Boa sorte!




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AmanSharma-8742 avatar image
0 Votes"
AmanSharma-8742 answered PrithaviNagar-9190 edited

Seems like if you update your WebView2 package in development project and recompile, it works as expected. The same issue happened for us and this should be cleanest way of solving this.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi , @AmanSharma-8742

I tried same but not work for me . I cleaned webview2 cache i.e. C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE.WebView2 .

Thanks
Prithavi

0 Votes 0 ·
sedongKwon-8939 avatar image
0 Votes"
sedongKwon-8939 answered

Hi MS developers

I can't eliminate the Microsoft Edge Webview2 Runtime
That means, when i was eliminate that, but respawned again that after turn on the notebook
So let me know the method how to remove it

Thank you

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.