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.

How to check webpage has been loaded properly?

nagarnagar Members
edited November -1 in Sahi - Open Source
Hi All,

Is there any method / API in sahi, using which we can check whether a webpage has been loaded properly?


regards,
nagar

Comments

  • Hi,

    Can you please explain as to what exactly you mean by loading a page properly? If there is some JS error in the application, it will be shown in Sahi script.

    Please let us know where and how you are facing this problem.

    Thanks,
    Vivek
  • nagarnagar Members
    Hi Vivek,

    Actually, I need to open some links in popup windows. Few links are accessible and few are not. The links which are not accessible, throw 503 error and take lot of time in displaying 503 error page.

    After that when I try to close this popup, it doesn't get closed and script fails to execute.

    Contrarily, if I apply some wait time after clicking these links, say "_wait(20000)", then all the popups (even inaccessible link popups, which throw 503 error) gets closed and script executes properly.

    On the logs and Sahi console, I am unable to see any timing related error message.


    regards,
    nagar
Sign In or Register to comment.