I tried this code. All works, but I can’t find a way to reach the DOM or to call JavaScript from it. Any ideas how to do that? This is using GTK# and WebKitSharp.
EDIT: Also I need to get the result.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
will do the trick.
Getting the results back is another challange though: WebKit.DOMDocument is not implemented in webkit-sharp, so you can’t access the DOM. There are a few workarounds, this is what we normally do:
webView.MainFrame.FindFrame("framename")myWebFrame.Titleto read it from C#