Re: Safari Browser - Mac OS and Selenium RC

126 views
Skip to first unread message

Linkesh Kanna.V

unread,
Apr 19, 2011, 6:16:10 AM4/19/11
to Selenium Users
Hi, I want to run scripts in Safari on Mac and I am executing tests
remotely from a windows machine to mac machine. But whenever I am
using my scripts, I am getting error as "Safari could not be found on
the path. Please add the directory contating 'Safari' to your
environment variable" or explicitly specify a path to safari like
this. *safari/blah/blah/safari on session null. Please help me to
resolve this issue. I have also tried adding the safari path as
"*safari /Users/hhsds/Documents/Safari" in defaultselenium . But that
also not worked. Please help.

THanks,
Linkesh Kanna V

Linkesh Kanna.V

unread,
Apr 19, 2011, 6:21:59 AM4/19/11
to seleniu...@googlegroups.com
also not worked. Its throwing error as the specified path to the
browser executable is invalid."

Please help.

Thanks,
Linkesh Kanna V

Mark Collin

unread,
Apr 19, 2011, 6:30:10 AM4/19/11
to seleniu...@googlegroups.com
Try a path of:

/Applications/Safari.app/Contents/MacOS/Safari

THanks,
Linkesh Kanna V

--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to
selenium-user...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/selenium-users?hl=en.


--
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

If you have received this email in error please notify postm...@ardescosolutions.com

Mark Collin

unread,
Jul 11, 2011, 4:44:19 AM7/11/11
to Pavithra, seleniu...@googlegroups.com
Not on the machines in this place.

All of then use /Applications/Safari.app/Contents/MacOS/Safari regardless of
Safari version (We have a mix of Safari 4 and Safari 5).

Did you put it in a custom location on yours (trying to run 4 and 5 side by
side)?

-----Original Message-----
From: Pavithra [mailto:pav...@gmail.com]
Sent: 11 July 2011 08:11
To: Mark Collin
Subject: Re: Safari Browser - Mac OS and Selenium RC

Just for the information:
This path might change based on the safari versions: for eg if its Safari 5
then path should be:
/Applications/Safari 5.app/Contents/MacOS/Safari

athttp://groups.google.com/group/selenium-users?hl=en.


>
> --
> This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system. If you are not the intended recipient you are
notified that disclosing, copying, distributing or taking any action in
reliance on the contents of this information is strictly prohibited.
>
> If you have received this email in error please notify

> postmas...@ardescosolutions.com

Reply all
Reply to author
Forward
0 new messages