开发者

invoke button submit using webkitbrowser

how to invoke form button submit on WebKitWebBrowser using c# code behind? i can find the control using

webKitBrowser.Document.GetElementById("Email").SetAttribute("value", "argeure");

but 开发者_运维问答is ther any method to call like this?

webKitBrowser.Document.GetElementById("signIn").Invoke("click");


You should do it with javascript. ie write some js to the WebKitWebBrowser, which gets the form element and calls on .submit() on it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜