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

WebView2 Edge Extensions feature

i've embedded a WebView2 control into an application and it works pretty good. Now i need to integrate this with Oracle ESSO Logon manager because i need OESSO auto inject credentials. Oracle provides web extensions for Edge/Chrome/Firefox and it…
0
votes
1 answer

WebView2: navigating to second page causes remote messenger error

Navigating the webview2 browser to a web page with host objects bound, making calls to window.chrome.webview.hostObjects, and then later navigating to another page seems to reprocess existing remote messenger responses, which then generates a host…
buuda
  • 1,427
  • 7
  • 8
0
votes
1 answer

WebView2 runtime in setup project

How can I include WebView2 runtime in the setup project? VisualStudio 2017, C # application. https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution
Sergej Loos
  • 292
  • 1
  • 2
  • 10
0
votes
1 answer

Package latest chrome-engine with your UWP build to avoid legacy Internet explorer issues in Web-View for PWA

Package latest chrome-engine with your UWP (Universal Windows Platform) build to avoid legacy Internet explorer issues in Web-View. Let me explain the situation first: I have a legacy UWP written in C# which opens a web application in web-view. This…
WitVault
  • 23,445
  • 19
  • 103
  • 133
0
votes
1 answer

Can the host object events be received in the Javascript side?

I created a Com object using ATL C++ interface IHostObjectSample2 : IDispatch { [propget, id(2), helpstring("Property.")] HRESULT Property([out, retval] BSTR* stringResult); [propput, id(2), helpstring("Property.")] HRESULT Property([in]…
Eng KFKE
  • 21
  • 3
0
votes
1 answer

Is there a Registry value to get Edge browser's user data location?

My Application uses Edge browser to launch webpages in app. I am following WebView2 API. I want to pass "C:\Users\\AppData\Local\Microsoft\Edge" as "userDataFolder" argument to CreateCoreWebView2EnvironmentWithOptions(), as this location is…
TippuR
  • 113
  • 2
  • 12
0
votes
1 answer

Avoid UserDataFolder for MS edge (webview2)

In my application, I am creating Edge environment using CreateCoreWebView2EnvironmentWithDetails. Right now it is creating a folder next to my exe as "myexe .WebView2", which I don't want. So I am passing…
TippuR
  • 113
  • 2
  • 12
0
votes
0 answers

Using Chromium Edge WebView2 on vs2015 & 32 bit application (limitation i have)

Does anyone succeed to works with WebView2 and chromium Edge on vs 2015 - 32-bit application? I try the WPF .Net 4.8 sample at vs2015 and its works only at 64 bit, I try also the c++ on vs2015 but I didn't succeed to make it works :-( I try the…
0
votes
2 answers

WebView2 - How to read data from BLOB URL?

How do i read data as text from a BLOB Url in WebView2 ? I've tried WebView2 callback from Javascript which i couldn't make it work. I appreciate whether it is a Javascript solution or not but i prefer C++.
Kitiara
  • 343
  • 6
  • 21
0
votes
1 answer

'Access is denied' or Promise errors seen while accessing the COM object from WebView2 page

Thanks in advance. I am unable to communicate from JavaScript code to the WebView2 control embedded in WPF application as I am seeing errors like - 'Access is denied', 'Promise Pending' etc. I am not sure what is wrong as everything seems to be…
DotNetSpartan
  • 931
  • 4
  • 20
  • 41
0
votes
0 answers

Office document rendering issue in Microsoft Teams with Edge Dev browser

I working with the Microsoft Edge Dev browser (the last updated) and Microsoft Teams onLine with an Office365 account. I uploaded a Word file (docx) in a team and if I want to open the file in Word Online (the Microsoft Teams document viewer) or in…
0
votes
1 answer

CoreWebView2 is null when accessing it from another XAML Window in the same project

WPF WebView2 Control is inside the MainWindow.xaml (shown below). When calling ExecuteScriptAsync(...) from a Button click event inside MainWindow.xaml.cs (code shown below), it works fine. But when accessing WebView2 control from another class…
nam
  • 21,967
  • 37
  • 158
  • 332
0
votes
1 answer

Microsoft Edge 84 released but WebView2 is not working as promised

I was waiting for Microsoft Edge 84 to be released so that WebView2 is included as they promise.. but after updating MEdge WebView2 is not working... For example CoreWebView2Ready never fired and WebView2 is showing nothing and it is throwing…
Khalid Almannai
  • 162
  • 1
  • 1
  • 13
0
votes
0 answers

VB.Net WebView2 how to copy image?

I use WebView2 on my VB.Net Window Form and have been tring to copy an image on a navigated website to clipboard and save the image as bitmap to local folder. I googled a lot for last three days but unfortunately can not find a right solution. Below…
Tom
  • 123
  • 1
  • 1
  • 7
0
votes
0 answers

Microsoft Edge WebView2 - The format of the URI could not be determined

This post is about Microsoft Edge WebView2 control. When working on WebView2WpfBrowser sample from github here, I get the following error at the following code in file MainWindow.xaml.cs file. The sample runs fine except when in the the address bar…
nam
  • 21,967
  • 37
  • 158
  • 332