GetLayoutObjectAttribute dosent work for certain pages
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
Set Variable [$Done; Value:PatternCount(GetLayoutObjectAttribute("Viewer";"Content"); "</html>")]
Exit Loop If [$Done >0]
Pause/Resume Script [Duration (seconds): 1]
Set Variable [$html; Value:GetLayoutObjectAttribute("Viewer";"Content")]