I have that problem whith CefSharp and js communication. This is my structure. In my MainWindow.xaml.cs I have:
chromium = new CefSharp.Wpf.ChromiumWebBrowser();
chromium.RegisterJsObject("jsInterface", new jsMapInterface());
where jsMapInterface is a public class with its methods.
In my html/js folder, I call a C# method with:
window.jsInterface.myTest();
//jsInterface.myTest(); //I have tested twice
where myTest() is a method inside jsMapInterface class but nothing happens. Where is my mistake?
Thanks in advise.