We are using EO.Browser.wpf version 18.1.75.0
I have a very simple BrowserListener that has been functioning fine.
I have a very simple method defined for test purposes:
Code: C#
public class BrowserListener
{ public bool DoSomething(string thing)
{
var t = thing + " added";
return t == "jdjd";
}
}
And I have a very simple piece of code in a file called pre.js. Nothing else here, just this one line.
Then, I am preloading pre.js into my browser instance via:
Code: C#
var v = new WebView {JSInitCode = GetJavascriptToPreload()};
where GetJavascriptToPreload() returns the contents of pre.js.
Now, when my browser navigates to a page, the "DoSomething()" method is called, but the browser never loads.
What mistake are we making with this?