I ran into a problem when a Selenium Grid hub on a Windows machine cannot connect to a Mac machine for the Safari browser. I see the browser open, but then an error message appears:
[ 0.007s] [safaridriver.client] Requesting connection at ws:
[ 2.513s] [safaridriver.client] Unable to establish a connection with the SafariDriver
My hub is configured on a Windows 7 machine. My node command on a Mac 10.8 computer:
java -jar selenium-server-standalone-2.39.0.jar -role node -hub http://10.xxx.xxx.xxx:4444/grid/register -port 5559 -browser browserName=safari
Selenium Webdriver 2.39 Mac 10.8.5 Mountain Lion Safari Version 6.0.5 (8536.30.1)
Can someone direct me here, what could be the problem? I initially thought this was a problem with the ports on the MAC Machine, but I also opened them.
Thank,
source
share