2 Replies Latest reply on Mar 27, 2013 5:54 PM by mikebeargie

    Calc for determining if web viewer is loading?


      I'm putting together a fairly extensive web scraping toolkit (plan to release later to developers for reference), and am wondering if anyone knows if there's a way to test the web viewer to see if a page has loaded all the way (IE loading/progress bar completed)?


      I was thinking that something like this in a script would work:


      set webviewer URL


      set variable $code | GetLayoutObjectAttribute("webviewer" ; "Content")

      Exit loop if ( patterncount ($code ; "</html>") > 0 )

      pause 1 second

      end loop

      continue script


      But that's far from elegant, and I figure someone's dealt with this problem before so I'd try on technet to see.


      Anyone have suggestions?