3 Replies Latest reply on Mar 30, 2011 11:50 AM by smalco

    GetLayoutObjectAttribute dosent work for certain pages

    LucasSlowik

      Title

      GetLayoutObjectAttribute dosent work for certain pages

      Post

      I'm trying to grab www.oanda.com webpage but GetLayoutObjectAttribute is not working correctly for that page. I checked on several different pages and even different pages in the same domain but for that particalar it dosent work. Any Idea.

      Below part of the code where i'm checking if page is loaded

      Loop

      Set Variable [$Done; Value:PatternCount(GetLayoutObjectAttribute("Viewer";"Content"); "</html>")]

      Exit Loop If [$Done >0]

      Pause/Resume Script [Duration (seconds): 1]

      End Loop

      Set Variable [$html; Value:GetLayoutObjectAttribute("Viewer";"Content")]

      grab.png