2,854 questions
How can I injecting javascript from webview2 in WPF
Kambhampati Satyanarayana Murthy
1
Reputation point
I am using gecko browser earlier. now moving to web view2. In the code when using gecko they we getting the data from the javascript and storing the data. Example given below
using (var java = new AutoJSContext(webBrowser.Window.))
{
var result = java.EvaluateScript("get_players()", webBrowser.Window.DomWindow);
MessageBox.Show(result.ToString());
}
so is there a way how web view2 works.
Developer technologies Windows Presentation Foundation
Sign in to answer