EvaluateScriptAsync won't return second time #5157
Replies: 2 comments 1 reply
-
it's ok the first time: |
Beta Was this translation helpful? Give feedback.
-
The API is asynchronous, using it in a synchronous fashion is not recommended or supported. If you are using There are a number of built in methods that you should also use instead of writing your own. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
CefSharp Version
138.0.170
Operating System
Windows 10
Architecture
x64
.Net Version
net fwk 4.7.2
Implementation
OffScreen
Reproduction Steps
run it every time
Expected behavior
run as normal
Actual behavior
run it every time, it will blocked and won't return.
(
code: await Task.WhenAll(tcs.Task);
function : InjectScriptAndRun
)
Regression?
dont konw if it works before.
Known Workarounds
No response
Does this problem also occur in the CEF Sample Application
Yes using WPF/OffScreen command line args
Other information
Beta Was this translation helpful? Give feedback.
All reactions