How can I start loading a webpage and then make my script wait until certain text appears in the webpage?
I tried using com at first, but the webpage will finish loading before the content actually appears on the webpage.
This is what I initially tried (this method just waited for the page finish loading)
Code: Select all
ie := comobjcreate("internetexplorer.application")
ie.navigate("https://itsm..com/sm/index.do?ctx=docEngine&file=probsummary&query=number%3D%22IM102621301%22&action=&title=Incident%20IM102621301")
While ie.busy
Sleep 10
ie.visible := true
MsgBox The page is done loading.