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.
Safari hangs on the first local page (works ok on server)
I have the following test script
But under Safari, it stops on welcome.php (150 sec...)
If I revert the to lines, it stops on index.php.
Safari works Ok when on http://mysite.com/ (instead of http://dev-vaio/mysite/)
So I'm probably missing some point in the configuration. Any idea ?
Sahi 3.5 (19/07/11) W7 64 Safari 5.1
_navigateTo("http://google.com", true);
_navigateTo("http://dev-vaio/mysite/welcome.php", true);
_navigateTo("http://dev-vaio/mysite/index.php", true);
_navigateTo("http://google.com", true);
This works fine under FF, IE 8, Chrome.But under Safari, it stops on welcome.php (150 sec...)
If I revert the to lines, it stops on index.php.
Safari works Ok when on http://mysite.com/ (instead of http://dev-vaio/mysite/)
So I'm probably missing some point in the configuration. Any idea ?
Sahi 3.5 (19/07/11) W7 64 Safari 5.1
Comments
have you checked you proxy settings? Maybe there's something wrong in the "exclude from proxy" field or any other proxy settings... when you check your http://dev-vaio/mysite/ source code... do you see the Sahi injection?
Regards
Wormi
I checked the source code, and, no, there is no Sahi injection under Safari locally.
Locally (http//dev-vaio) it is OK with IE, FF and Chrome, but not Safari
Remotely it is OK with IE, FF, Chrome, and Safari.
Go to Safari preferences --> Security
For "Accept cookies" check "Always".
It should not hang anymore.
Also, have a look at the below link:
http://sahi.co.in/forums/viewtopic.php?id=2554
Let me know if this solves your issue.
Regards
Sumitra
I tried, but, the "Always accept cookies" setting did not allow Safari to run locally,
neither did adding "dev-vaio" to sahi.properties/userdata.properties.
Does latest version of Sahi has this issues still?
Safari hangs after I click on Play button. It loads the script but does not play. It hangs when we do that.
Any idea what could be the problem?
Thanks.