whuang
5 years agoRegular Contributor
Why the Wait method sometimes works sometimes not?
Hi Support team,
I used the page.wait method and gave it max 60 seconds to wait, but sometimes it waited sometime not. Whenever it works, the top right indicator shows "Wait until the web page ...
- 5 years ago
I have found that unreliable as I beleive the page can become ready but not all objects have been rendered yet.
I have been using the WaitAliasChild to wait for a particular object that I have mapped be rendered then perceed.I That way I also know that the object I need is there and can time it out if it does not show in time. this allows me to put it as part of an if statement so i can handle it being there or not.