Well, it looks like this cannot be done the way you want:
if you are using .NET 4, a function call is possible with:
<webkitbrowser>.GetScriptManager.CallFunction("name", new Object[] { arg1, arg2, ...});
If you want to use .NET 2, you can use:
<webkitbrowser>.StringByEvaluatingJavaScriptFromString("name(arguments)")
- Open problems with Webkit Sharp
source
share