当我尝试将遥控器注册到 Selenium Hub 时,我遇到了这个问题。
这是 ip 信息: RC: 172.16.0.90 HUB: 172.16.0.121
步骤: 1. Hub 机器上的“ant launch-hub” 2. RC 机器上的“ant -Dport=5555 -Dhost=172.16.0.90 -Dhuburl=http://172.16.0.121:4444 lanuch-remote-control”。
错误消息是“无法在 'http://localhost:4444' 联系 Selenium HUb:连接被拒绝...”
为什么它连接到“localhost”?我做了错误的步骤或错误的命令吗?非常感谢您的帮助。