3

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");
Greg Sansom
  • 19,757
  • 6
  • 56
  • 75
Gayan
  • 2,653
  • 4
  • 43
  • 81

1 Answers1

1

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

Tom
  • 7,732
  • 8
  • 42
  • 57