Replies: 1 comment 11 replies
-
You need to use EvaluateScriptAsPromiseAsync see https://github.com/cefsharp/CefSharp/wiki/General-Usage#2-how-do-you-call-a-javascript-method-that-returns-a-result |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Im new in cefsharp, im trying to execute an async method on our client with no success on the result.
example of code trying to execute:
window.query = async (args) => { const response = await fetch('https://jsonplaceholder.typicode.com/todos/1'); const todo = await response.json(); return todo; };
anything im trying from c#, the result not return.
any help with that?
thanks !
Beta Was this translation helpful? Give feedback.
All reactions