Add this method to a module:
Public Function HTML(extends h as DesktopHTMLViewer) As String
Return h.ExecuteJavaScriptSync( "document.documentElement.outerHTML;" )
End Function
Call as:
var result as String = HTMLViewer1.HTML
Add this method to a module:
Public Function HTML(extends h as DesktopHTMLViewer) As String
Return h.ExecuteJavaScriptSync( "document.documentElement.outerHTML;" )
End Function
Call as:
var result as String = HTMLViewer1.HTML