I am trying to let click/write on the Awesomium WebControl, but it doesn't work. This is the code that I use:
WebControl1.Source = New Uri("website") 'i dont put the website
xpath=link.xpath
Dim nlink As JSObject = WebControl1.ExecuteJavascriptWithResult([String].Format("document.evaluate(""{0}"", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null ).singleNodeValue", xpath))
nlink.InvokeAsync("click")
end if
next
If you want to just trigger 'click' on your website content, that should work (using jQuery):
or (I've found it here, not tested):
Remember to wait till DocumentReady is Loaded state:
EDIT:
in jQuery: