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.
Closing opened browsers after replay is completed
hi ,
I want to extend the feature of closing the opened browsers after replay is done. can you please suggest on how to close main window and also the child windows opened from main window
I want to extend the feature of closing the opened browsers after replay is done. can you please suggest on how to close main window and also the child windows opened from main window
Comments
If you want to close a particular popup, you could do
_popup("myWin")._call(window.close());
(Adding _popup("myWin")._closeWindow() to the Sahi APIs)
Javascript (and hence Sahi) will not allow closing the base window itself.