我有以下问题
java -jar selenium-server-standalone-2.53.0.jar -role hub
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失败了.我做错了什么?