'######################################################
'# FunctionName : GetPageInnerHtml
'# Purpose: To get the innerhtml of a WebPage
'# Created By : Jay
'######################################################
Sub GetPageInnerHtml()
On Error Resume Next
Set oPage = Browser("name:=XXXX").Page("title:=XXXX")
Print oPage.object.body.innerhtml
If Err.number <> 0 Then Reporter.ReportEvent micfail,methodname,Err.number & " - " & Err.description
End Sub
E.g: Call GetPageInnerHtml()
Comments