Ask a Question

Any way to wait for a page fully load the content?

whuang
Regular Contributor

Any way to wait for a page fully load the content?

Hi everyone,

 

I am using TestObj.WaitPage(URL, Timeout) to wait for a page and then do the rest on that page, but quite often it complaints the target object cannot be found on the page, but from the screenshot of the error I can see the page was loaded and I could see the target object is available on the page, so I was guessing maybe this WaitPage method just wait for the expected URL to be available and don't care whether the page content fully loaded or not. Is there anyway to wait for the page content fully loaded?

 

Thanks in advance

 

10 REPLIES 10
sonya_m
SmartBear Alumni (Retired)

Great job, Community!

 

@whuang did you have a chance to apply the suggestions? If it worked, please mark the best one as a Solution🙂


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: