Post by champtech on Aug 2, 2014 23:51:51 GMT 10
In webbrowser the following code works... webbrowser.document.getelementbyID("ID").Invokemember("click")
that command does not work for Awesomium,so how I can perform the same command for awesomium?
|
|
Post by Nathan Lecompte on Aug 3, 2014 13:20:52 GMT 10
Hey champtech, Unfortunately Awesomium doesn't support the GetElementByID method although you can use Javascript instead: WebControl1.ExecuteJavascriptWithResult("") '<<There should be a way to get element ID in Javascript, although I am unaware of any method. Hope this helps!
|
|
Post by Nathan Lecompte on Aug 8, 2014 16:58:14 GMT 10
If your question has been answered please add "[SOLVED]" to your subject/title.
|
|
Post by Imformas on Sept 11, 2014 9:52:11 GMT 10
Yes there is, try using Dim foo As Object = WebControl.ExecuteJavaScriptWithResualt("code") It worked for me, so it should for you.
Programming language'sCSharpC++CObjective-CVBProject'sSharpMediaSharpEditYoutifygithub.com/Stephen-Fox-0
|
|
Post by Nathan Lecompte on Oct 6, 2014 12:30:33 GMT 10
If your question has been answered please press the "Accept" button next to the post which answered your question.
|
|