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.
精彩评论