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 not running in Sahi Dashboard
Problem: Clicking chrome icon, Chrome does not load.
The problem I see is in the configuration file where the options section:
<options>--user-data-dir=$userDir\browser\chrome\
profiles\sahi$threadNo --proxy-server=localhost:9999
--disable-popup-blocking</options>
There is no such browser\chrome\profiles for Sahi and I believe this is why Chrome is not opening at all. I can remove the options entirely, but then I have to manually change the proxy for Sahi to open.
How can I generate a profiles directory for sahi for chrome?
The problem I see is in the configuration file where the options section:
<options>--user-data-dir=$userDir\browser\chrome\
profiles\sahi$threadNo --proxy-server=localhost:9999
--disable-popup-blocking</options>
There is no such browser\chrome\profiles for Sahi and I believe this is why Chrome is not opening at all. I can remove the options entirely, but then I have to manually change the proxy for Sahi to open.
How can I generate a profiles directory for sahi for chrome?
Comments
The path is correct, its the Options that don't run chrome.
What's odd is that my Work PC laptop is having this issue, but my home PC does not have any issues with Sahi.
Both are running Win7 64bit and essentially has the same programs. Chrome, Java 64bit and Sahi. My work PC will not popuplate my Sahi/userdata/browser folder for chrome. My home computer has a chrome folder in Sahi/userdata/browser/Chrome/Profiles etc.
I have tried taking my Home PC's Chrome profile folder and putting it into my work PC but its still not launching chrome.
Anyone else have any ideas?
Have a look at :
http://sahi.co.in/forums/viewtopic.php?id=3257
http://sahi.co.in/forums/viewtopic.php?id=2373
http://sahi.co.in/w/browser-types-xml
Also, could you post the contents of <browserType> for chrome browser by clicking on configure on the Dashboard.
Regards
Smrithi
<browserType>
<name>chrome</name>
<displayName>Chrome</displayName>
<icon>chrome.png</icon>
<path>$LOCALAPPDATA\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>
As i've said before, this seems to be an issue with Sahi not creating a profile for Chrome to create an isolated proxy.
If I delete the contents in between the <options></options> Chrome WILL OPEN but will not allow me to open up Sahi Dashboard because the proxy is not preconfigured.
I have looked through all the posts and have not found any issues yet.
Again, i'm running Windows 7 64bit with default options for all installations of chrome, java and sahi.
Has this issue been resolved?
I am currently facing the same problem in W XP, and same <browserType>
Thanks,
Please refer to the links attached by Smrithi in the discussion. If that does not help, please let us know.