Forum Discussion

whuang's avatar
whuang
Regular Contributor
6 years ago
Solved

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?

 

Thanks!

2 Replies