Forum Discussion
Yes, you are using the proper wait function for the page. I suggest checking the Result value to make sure you are waiting long enough.
Result Value
The Wait
method returns the URL of the page or resource that was loaded last on the page. If the web page does not contain frames and the page was loaded successfully, the Wait
method returns the page’s URL. If the page contains frames, the method will return the URL of the last page that was loaded in the frame.
If the loading was not successful or the page was not loaded before the time limit specified by the WaitTime parameter was reached, the method returns an empty string.
Thank you for the reply. I tried the Wait method and gave it 30 seconds to wait for the page, but it only waited for 4 seconds and then logged the page I asked it to wait for cannot be found. I believe the format I used is correct, Sys.Browser("*").Page("Page_URL").Wait(30000)
- Marsha_R4 years agoChampion Level 3
For troubleshooting purposes, try a specific browser and a specific page in that line of code and see if it works.
Related Content
- 4 years agovibin
- 10 months agoKimdoengart
- 13 years agomrouse
- 2 years agoTaz
Recent Discussions
- 8 minutes agoashly