This repository was archived by the owner on May 1, 2024. It is now read-only.
How can I get the result of my javascript from webview through EvaluateJavaScriptAsync? #15252
Unanswered
IShiraiKurokoI
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried the following code to get info from the page automatically
As I'm going to receive the result of
EleInfo.EvaluateJavaScriptAsync("getinfo()");
I triedConsole.WriteLine(await EleInfo.EvaluateJavaScriptAsync("getinfo()"));
But nothing was write on the console. I was used to use window.chorme.webview.postmessage in webview2 on WPF.The javascript I have used:
Properties.Resources.Send:
Properties.Resources.Eleget:
Beta Was this translation helpful? Give feedback.
All reactions