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 the broser on Mobile when the script finished
Hi All,
I'm using sahi for mobile testing, but I found a question that the browser can't be closed on Mobile when the script finished.
I used the same scripts on chrome or firefox, the browser closed successfully when the script finished.
Does anyone know this?
Thanks in advance,
Mandy
I'm using sahi for mobile testing, but I found a question that the browser can't be closed on Mobile when the script finished.
I used the same scripts on chrome or firefox, the browser closed successfully when the script finished.
Does anyone know this?
Thanks in advance,
Mandy
Answers
The browser can't close automatically in android emulator after the scripts is finished as normal browser.
Still waiting for your answer.
What you say is correct. After running testrunner command to launch the test, we may need to run a separate command to stop the browser (via adb again) once the test case finishes.
Why did you hit this requirement and how are you running your scripts?
Thanks,
Pratyush and Narayan
Thanks for you answer.
I want to do some research about sahi on mobile, so I tried to do a simple scenario which includes open and close browser.