Questions tagged [webview2]

Use the tag for the questions about Microsoft Edge WebView2 control. For current issues check https://github.com/MicrosoftEdge/WebView2Feedback/issues

Microsoft Edge WebView2 control uses Microsoft Edge (Chromium) as the rendering engine.

It can be used in Win32 C++ or .NET (WPF or WinForms) and WinUI 3 applications.

For further information, see the WebView2 documentation or the WebView2 feedback project for bugs and feature requests.

727 questions
0
votes
1 answer

Offline Installer / Fixed Version Installer for WebView2 Runtime

The road map seems rather intransparent to me. Is this planned? Is there any info on a potential release date? We require to use WebView2 on machines that aren't necessarily connected to the internet. The full browser would not be needed, which is…
momo
  • 119
  • 3
  • 10
0
votes
2 answers

Create tabs using WebView2 - Edge

Please provide the code snippet to create a tab instead of open a page in new window when click on the links in the webview2 - Edge in C# windows form. Followed the below steps. Drag the webview2 control on C# windows form and update the source…
user1158993
  • 19
  • 1
  • 3
0
votes
2 answers

application failed to find Chromium-edge browser

I created a sample application to open a webpage on microsoft edge, by following below URL guidance. https://learn.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/win32 I installed packages using NuGet packet manager as instructed.…
TippuR
  • 113
  • 2
  • 12
0
votes
0 answers

Microsoft WebView2 slow response time in windows service

When using Microsoft WebView2 API which is still in beta at the time of writing this question we are experiencing a significant difference in performance between a Windows VCL version of the application and Windows Service. In the desktop…
Reallyethical
  • 1,825
  • 2
  • 16
  • 26
-1
votes
2 answers

Create a button that launches a non-IE browser

I'm implementing a VSTO add-in with WebView2. I would like to make a button clicking on which launches a non-IE browser hosting a webpage. Here is UserControl1.cs: using Microsoft.Web.WebView2.Core; using System; using System.Windows.Forms; using…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
-1
votes
1 answer

Extensions on WebView2 on WinForms

I would like to use AdBlock extension in WebView2. How can i add extensions to WebView2? I have searched and found out that WebView currently doesnt support extensions. If there is some play around then let me know please.
-1
votes
1 answer

Webview2 change proxy setting multiple times like a rotating proxy

I can make the proxy setting of Webview2 at the first initialize but I need to change them multiple time during runtime, when I try to do it again I get this error System.ArgumentException: 'WebView2 was already initialized with a different…
Taner
  • 3
  • 3
-1
votes
1 answer

I am using AutoJsContext in geckobrowser with that I am using evaluate scrpit. But now i am using webview2 is there a how can i get this

I am using AutoJsContext in geckobrowser with that I am using evaluate scrpit and asble to get data. But now i am using webview2 is there a how can i get this. Gecko browser: using (AutoJSContext context = new AutoJSContext(browser.Window)) { …
-1
votes
1 answer

How to disable DPI scaling in wxWebview in wxWidgets?

I am working with the wxWebView of wxWidgets 3.2.1 in Windows 10. I am also using the Edge backend (WebView2). I have a problem in High DPI monitors and that's the automatic scaling of the Edge. I don't want this automatic scaling and prefer to set…
Reza
  • 3,473
  • 4
  • 35
  • 54
-1
votes
1 answer

What is the best way to release WebView2 (in order to use Google Maps) without Evergreen runtime?

We have to introduce the WebView2 in order to use Google Maps into our WinForms project and we cannot have the Evergreen Runtime installed on all the numerous PCs. Currently our compile weighs 25Mb. If we add the NuGet libraries of WebView2 and the…
mcarugati
  • 59
  • 8
-1
votes
1 answer

How do I stop Visual studio from adding reference to WebView2?

I have a problem pushing an update of my Xamarin.Forms.UWP to the store. It does not pass the WACK test because I have a reference to Microsoft.Web.WebView2.Core in my project. I do not know how this reference was added, and I am unable to remove…
Sjors Miltenburg
  • 2,540
  • 4
  • 33
  • 60
-1
votes
1 answer

WebView2 AddScriptToExecuteOnDocumentCreated - How to wait for completion in C++?

In a C++ (MFC) app using WebView2, I can't find a way to simply wait until the script passed to AddScriptToExecuteOnDocumentCreated() is ready. My ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler() is just never called if I add some…
Cylvoon
  • 1
  • 2
-1
votes
2 answers

ExecuteScriptAsync().Result never return

var response2 = webView21.CoreWebView2.ExecuteScriptAsync("function foo(){return 1;}; foo();").Result; if (response2 != null) //it never reach here { //... } For the code above, it will not continue after the first line, so I can't get the…
camino
  • 10,085
  • 20
  • 64
  • 115
-1
votes
2 answers

Support of WebView2 for WPF Apps

We are developing an App in WPF and wanted to embed HTML page in it. We have planned to use WebView2 for it as it has lot of advantages like easy debugging, host to WebView and vice versa communication, etc... Before started using WebView2, we would…
virus
  • 146
  • 1
  • 9
-1
votes
1 answer

how to block "microsoft edge webview2 runtime" auto updates

I have a program that installs "microsoft edge webview2 runtime" for proper functionality. If i uninstall it, program stop working. The problem is: sometimes "microsoft edge webview2 runtime" updates it self and some times it crushed while PC. The…
rm1991
  • 33
  • 1
  • 7
1 2 3
48
49