小编uCo*_*sta的帖子

在Selenium Grid中注册PhantomJS节点时出错

我有以下问题

  • 我成功推出了Selenium Grid hub:

java -jar selenium-server-standalone-2.53.0.jar -role hub

  • 之后我尝试使用以下命令启动PhantomJS节点:

phantomjs --webdriver=8090 --webdriver-selenium-grid-hub=http://localhost:4444


但得到了错误:

[INFO - 2016-03-25T13:56:28.397Z] GhostDriver -主-端口运行8090 [INFO - 2016-03-25T13:56:28.397Z] GhostDriver -主-注册到硒HUB' 的http://本地主机:4444 '版本:使用'127.0.0.1:8090'与org.openqa.grid.selenium.proxy.DefaultRemoteProxy作为远程代理.[错误- 2016-03-25T13:56:28.400Z] GhostDriver - main.fail - { "线":97, "sourceURL": "phantomjs://platform/hub_register.js", "堆":"寄存器@ phantomjs://platform/hub_register.js:97:79 \nglobal code @ phantomjs://code/main.js:78:37"}

phantomjs://platform/console++.js:263错误

标准节点工作正常,但PhantomJS失败了.我做错了什么?

java selenium-grid phantomjs selenium-webdriver ghostdriver

10
推荐指数
2
解决办法
3927
查看次数