Mac Safari issue with Selenium RC but ok with SafariDriver

97 views
Skip to first unread message

David

unread,
Jun 4, 2012, 2:21:40 PM6/4/12
to Selenium Users
Having issues with Mac Safari with Selenium RC. It opens up browser
but gets stuck. No issues using SafariDriver on same Mac.

Mac OS X 10.6.8, Safari 5.1.5 or 5.1.7

Testing with Selenium v 2.21 for both RC and SafariDriver.

See this in server log/output for RC:

Command request: getNewBrowserSession[*safari, http://www.google.com]
on session null
11:00:16.507 INFO - creating new remote session
11:00:16.666 INFO - Allocated session ed12b5e612e94d2190f2ed885589fb2c
for http://www.google.com, launching...
11:00:16.867 INFO - Launching Safari to visit 'file:/var/folders/sP/
sP8MZYstGnihlFQqvbZ8BU+++TI/-Tmp-/
customProfileDired12b5e612e94d2190f2ed885589fb2c/core/
RemoteRunner.html?
sessionId=ed12b5e612e94d2190f2ed885589fb2c&multiWindow=true&baseUrl=http
%3A%2F%2Fwww.google.com&debugMode=false&driverUrl=http://localhost:
4444/selenium-server/driver/' via '/var/folders/sP/
sP8MZYstGnihlFQqvbZ8BU+++TI/-Tmp-/
customProfileDired12b5e612e94d2190f2ed885589fb2c/
redirect_to_go_to_selenium.htm'...

and this on the Safari browser output URL

file:///var/folders/sP/sP8MZYstGnihlFQqvbZ8BU+++TI/-Tmp-/customProfileDired12b5e612e94d2190f2ed885589fb2c/core/RemoteRunner.html?sessionId=ed12b5e612e94d2190f2ed885589fb2c&multiWindow=true&baseUrl=http%3A%2F%2Fwww.google.com&debugMode=false&driverUrl=http://localhost:4444/selenium-server/driver/

Using *safariproxy results in same, except server log shows backing up
then modifying OS X global network settings before launching Safari.

So Safari browser gets stuck at the start API command for Selenium.
Wonder what the problem is.

We have 2 other Mac machines in the lab that work fine, seems to be
same Mac config.

I do recall people were having issues with RC and Safari 5, but that
was for Windows. Were there any posted Mac Safari issues with RC?
Reply all
Reply to author
Forward
0 new messages