18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Alternative for _wait()
Hallo,
I want to use Sahi for testing internal Websites. The problem is, that the server needs between 5 seconds and a few minutes until it sends the answer and firefox shows the new site correct.
Exist a function like waitforpage()?
An other possibility is to read the Status Bar from Firefox but I don't know how I can do that.
Thank you for your help!
Martin
I want to use Sahi for testing internal Websites. The problem is, that the server needs between 5 seconds and a few minutes until it sends the answer and firefox shows the new site correct.
Exist a function like waitforpage()?
An other possibility is to read the Status Bar from Firefox but I don't know how I can do that.
Thank you for your help!
Martin
Comments
_wait(600000, _assertTrue(document.title == "The title of the target page you are looking for"));
You'll get a lot more mileage out of Sahi if you learn the Document Object Model:
www.w3schools.com/HTMLDOM/default.asp