I am trying to find out if this is possible. I have been through the GitHub example https://github.com/chillitom/CefSharp which gave me the source code for the classes (although I could not build CefSharp itself from this GITHUB.
I did however then try the binaries download from this link https://github.com/downloads/ataranto/CefSharp/CefSharp-1.19.0.7z and then I built my C# win32 app by referencing these examples, this went reasonably smoothly and after 8 hours or so I have got a working embedded browser, yipeee. However, I am now at the point where I want to manipulate the DOM - I have read that you can only do this with webView.EvaluateScript("some script"); and webView.ExecuteScript("some script"); as direct DOM access is not available through cefsharp
So what I am trying to find out is. Can I call jQuery methods? If the page I have loaded already has jQuery loaded, can I do the following in c#?
webView.ExecuteScript("$(\"input#some_id\").val(\"[email protected]\")"));
Currently this throws an exception. I am trying to find out; should I even be trying to use jQuery from the cefsharp DLL, or do I have to stick to standard old school JavaScript that will take me 5 times as long to write...?
I am hoping a stacker will have an answer. I have tried the wikis and forums for cefsharp but they do not offer much in the way of leads; and the only examples I have found are of old school JavaScript.