EvaluateScriptAsync returns null #3508
Unanswered
TonyValenti
asked this question in
Q&A
Replies: 1 comment
-
See https://github.com/cefsharp/CefSharp/wiki/General-Usage#2-how-do-you-call-a-javascript-method-that-returns-a-result for examples. Think of it like executing code in DevTools, you don't need a return statement. For multi line scripts I recommend using an IIFE. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using EvaluateScriptAsync on this code:
To extract an angular scope in C# but I'm getting a "null" result. What is the right way to return data from EvaluateScriptAsync?
I'm using CEFSharp 79.1.
Beta Was this translation helpful? Give feedback.
All reactions