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.
Chrome doesn't close after a test - sahi v44
Hello,
I use sahi Open Source (sahi_v44_20130429-patch from Squash TA Tools box).
I run my tests via testrunner.bat in an eclipse-based environnement
the three arguments passed to this command are :
<my sahi script>.sah
<my_start_url>
<my_browser> (chrome or firefox ... I can't use IE 10 with this sahi version for the moment)
All is fine when I use firefox : the tests run and the browser is closed at end.
But when I use chrome the browser stay open !
Has someone faced this issue and can give me some help please ?
Here are extracts from my XML browser file :
<browserType>
<name>firefox</name>
<displayName>Firefox</displayName>
<icon>firefox.png</icon>
<path>$ProgramFiles\Mozilla Firefox\firefox.exe</path>
<options>-profile "$userDir/browser/ff/profiles/sahi$threadNo" -no-remote</options>
<processName>firefox.exe</processName>
<capacity>5</capacity>
</browserType>
<browserType>
<name>chrome</name>
<displayName>Chrome</displayName>
<icon>chrome.png</icon>
<path>$ProgramFiles\Google\Chrome\Application\chrome.exe</path>
<options>--user-data-dir=$userDir\browser\chrome\profiles\sahi$threadNo --proxy-server=localhost:9999 --disable-popup-blocking</options>
<processName>chrome.exe</processName>
<capacity>5</capacity>
</browserType>
I use sahi Open Source (sahi_v44_20130429-patch from Squash TA Tools box).
I run my tests via testrunner.bat in an eclipse-based environnement
the three arguments passed to this command are :
<my sahi script>.sah
<my_start_url>
<my_browser> (chrome or firefox ... I can't use IE 10 with this sahi version for the moment)
All is fine when I use firefox : the tests run and the browser is closed at end.
But when I use chrome the browser stay open !
Has someone faced this issue and can give me some help please ?
Here are extracts from my XML browser file :
<browserType>
<name>firefox</name>
<displayName>Firefox</displayName>
<icon>firefox.png</icon>
<path>$ProgramFiles\Mozilla Firefox\firefox.exe</path>
<options>-profile "$userDir/browser/ff/profiles/sahi$threadNo" -no-remote</options>
<processName>firefox.exe</processName>
<capacity>5</capacity>
</browserType>
<browserType>
<name>chrome</name>
<displayName>Chrome</displayName>
<icon>chrome.png</icon>
<path>$ProgramFiles\Google\Chrome\Application\chrome.exe</path>
<options>--user-data-dir=$userDir\browser\chrome\profiles\sahi$threadNo --proxy-server=localhost:9999 --disable-popup-blocking</options>
<processName>chrome.exe</processName>
<capacity>5</capacity>
</browserType>
Answers
This problems seems to happen frequently as I saw in this forum history (I saw at least one identical question).
Is there a way to explore a lead ? Or is it definitively a bug ?
Thanks.