Is there any way to access the current HTML content of the control? The DocumentText property only returns the original content and doesn't take into account changes made to the document by scripts on the page.
I looked at the webView private field and didn't find anything that worked there. I even attempted the following:
Is there any way to access the current HTML content of the control? The DocumentText property only returns the original content and doesn't take into account changes made to the document by scripts on the page.
I looked at the webView private field and didn't find anything that worked there. I even attempted the following:
webView.stringByEvaluatingJavaScriptFromString("document.documentElement.innerHTML")
but it crashes the application (no exception, it just crashes straight to the O/S).
Yes this is exactly my problem. With standard WebControl I GetElementById returns an HTMLElement that I can read the Current DOM HTML string from.