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.
How to close current window
Hi,
In my application a link is present on a page when i click on it a new window is appeared with sahi controller. and i want to close the Window and controller both (it is a flex application and i use sahi_pro).i tried it using following commands but having no luck on it.
browser.close();
window.close();
self.close();
In my application a link is present on a page when i click on it a new window is appeared with sahi controller. and i want to close the Window and controller both (it is a flex application and i use sahi_pro).i tried it using following commands but having no luck on it.
browser.close();
window.close();
self.close();
Comments
to close popup window - _popup("NAMEOFWINDOW")._closeWindow();
let me know if still you are not getting it one
-Ashish