I am using CefSharp 3 in my WPF application to use Chromium based webBrowser control. In order to invoke some script in html ExecutScriptAsync
method is used. This is an EAP(Event-based Asynchronous Pattern) and i want to run this function synchronously as running it asynchronously is creating a huge mess in my output.
As it is EAP I cannot await
it.
If I await it it throws an error saying Cannot await void
Please help..