18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Ensure whole Page loaded before proceed

bpnchanbpnchan Members
edited August 2009 in Sahi - Open Source
Hi there,

I am using sahi for some webpage automation (I used to use Imarco) and found it is really helpful for my purpose ^^ (BIG BIG THANKS!!~~~ )

Recently, I come across a problem. The script works great.... about 80% of time. Most of the itme, it completes from start to the end with no problem, the onther 20%, it alaways fail to locate one of the heavily clicked object in different time and stuck there even I put a _wait for 10sec before it. It looks like the netwrok latency varied a lot which make the script stop unexpected.

Is there any way to ensure the whole page is loaded before proceeding to the next line of code?
Built-in API or ideas or comments are all welcome ^^

Thanks

Comments

  • narayannarayan Administrators
    Could you check if Sahi has already clicked it, but not recorded it in the logs and tries to click the same link again? You will have to observe this manually and not through the logs.
Sign In or Register to comment.