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.

Closing Browser window(Firefox)

aakash_1983aakash_1983 Members
edited March 2013 in Sahi - Open Source
Hi All,

while clicking on a link in firefox it opens a new browser window.My requirement is to first of all to close the previous window where i clicked on the link and want to perform action on the new opened window.I want only one opened window to perform actions.

Please help.

Thanks and Regards,
Aakash.

Answers

  • Hi

    maybe you can work around this problem by not opening in a new tab? Use _navigateTo($link.href) to open the link in the current tab.

    Regards
    Wormi
Sign In or Register to comment.