Ask a Question

Why the Wait method sometimes works sometimes not?

Regular 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 is loaded", whenever it doesn't work, the indicator shows "Waiting for Page('https://xxxxxxx')", and it definitely didn't wait for 60 seconds. I was running the exactly the same code. Can someone tell me how I can fix this?

Capture.JPG  Capture6.JPG


Frequent Contributor

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.

Champion Level 3



In addition to the said above by @kevin_kapell :

Does this ( help with your case?


  /Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: