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.

close firefox with _closeWindow

Hi
My Name is Ali. I am using sahi Pro V5.1.1. I am doing testecase with a csv file and at the end of every test i want to close my window with the function _closeWindow(). It works on IE but not on firefox or chrome. Do you know how to solve this problem.
Thanks !

Answers

  • I think i don't work because sahi can't get the PIDs of firefox or chrome because when i choose firefox or chrome to do a test a have this error on my Sahi pro Console "PIDs not avalaibe yet. Wait for 1 second. I have try to configure the os.profile by giving the path of the taskList.exe but i don't work. If you have an idea.
    Thanks
  • I think i don't work because sahi can't get the PIDs of firefox or chrome because when i choose firefox or chrome to do a test a have this error on my Sahi pro Console "PIDs not avalaibe yet. Wait for 1 second. I have try to configure the os.profile by giving the path of the taskList.exe but i don't work. If you have an idea.
    Thanks
  • I think i don't work because sahi can't get the PIDs of firefox or chrome because when i choose firefox or chrome to do a test a have this error on my Sahi pro Console "PIDs not avalaibe yet. Wait for 1 second. I have try to configure the os.profile by giving the path of the taskList.exe but i don't work. If you have an idea.
    Thanks
Sign In or Register to comment.