Need help running selenium in Mac OS via teamcity

50 views
Skip to first unread message

ni...@walkme.com

unread,
Aug 19, 2014, 12:11:29 PM8/19/14
to seleniu...@googlegroups.com
Hello guys , I am desperate for help...
I am running selenium tests on mac os , and I have no problem running the safari driver locally on the mac machine via eclipse ,
 but when trying to run the tests via a TeamCity agent,Firefox driver is running , but when it tries to run the Safari , I am getting these errors:

[18:49:59][exec] Aug 19, 2014 6:49:59 PM org.openqa.selenium.safari.SafariDriverServer start
[18:49:59][exec] INFO: Server started on port 40606
[18:49:59][exec] Aug 19, 2014 6:49:59 PM org.openqa.selenium.safari.SafariDriverCommandExecutor start
[18:49:59][exec] INFO: Launching Safari
[18:49:59][exec] Aug 19, 2014 6:49:59 PM org.openqa.selenium.safari.SafariDriverCommandExecutor start
[18:49:59][exec] INFO: Waiting for SafariDriver to connect
[18:50:44][exec] Aug 19, 2014 6:50:44 PM org.openqa.selenium.safari.SafariDriverCommandExecutor stop
[18:50:44][exec] INFO: Shutting down
[18:50:44][exec] Aug 19, 2014 6:50:44 PM org.openqa.selenium.safari.SafariDriverCommandExecutor stop
[18:50:44][exec] INFO: Stopping Safari
[18:50:44][exec] Aug 19, 2014 6:50:44 PM org.openqa.selenium.safari.SafariDriverCommandExecutor stop
[18:50:44][exec] INFO: Stopping server
[18:50:44][exec] Aug 19, 2014 6:50:44 PM org.openqa.selenium.safari.SafariDriverServer stop
[18:50:44][exec] INFO: Stopping server
[18:50:44][exec] Aug 19, 2014 6:50:44 PM org.openqa.selenium.safari.SafariDriverCommandExecutor stop
[18:50:44][exec] INFO: Uninstalling extensions
[18:50:44][exec] Aug 19, 2014 6:50:44 PM org.openqa.selenium.safari.SafariDriverCommandExecutor stop
[18:50:44][exec] INFO: Shutdown complete
[18:50:44][exec] Aug 19, 2014 6:50:44 PM org.openqa.selenium.safari.SafariDriverCommandExecutor stop
[18:50:44][exec] INFO: Shutting down
[18:50:44][exec] Aug 19, 2014 6:50:44 PM org.openqa.selenium.safari.SafariDriverCommandExecutor stop
[18:50:44][exec] INFO: Stopping server
[18:50:44][exec] Aug 19, 2014 6:50:44 PM org.openqa.selenium.safari.SafariDriverCommandExecutor stop
[18:50:44][exec] INFO: Uninstalling extensions
[18:50:44][exec] Aug 19, 2014 6:50:44 PM org.openqa.selenium.safari.SafariDriverCommandExecutor stop
[18:50:44][exec] INFO: Shutdown complete
[18:50:53][exec] Original message: org.openqa.selenium.remote.UnreachableBrowserException: Failed to connect to SafariDriver after 45070 ms
[18:50:53][exec] Build info: version: '2.42.0', revision: '5e82430', time: '2014-05-22 20:18:07'
[18:50:53][exec] System info: host: 'eyals-Mac-mini.local', ip: '192.168.1.102', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.4', java.version: '1.8.0_11'

I dont know really what is the problem , anyone has an idea??
Thanks!

Serguei Kouzmine

unread,
Aug 24, 2014, 5:13:30 PM8/24/14
to seleniu...@googlegroups.com
Hello

Try passing the option -browser="browserName=safari"  explicitly when launching the node
Reply all
Reply to author
Forward
0 new messages