Node.js 使用示例测试启动节点huxley

Node.js 使用示例测试启动节点huxley,node.js,selenium,Node.js,Selenium,我正努力让赫胥黎跑掉。在全局安装之后,我安装了节点selenium驱动程序,克隆了repo,并尝试在示例上运行Huxley。但是我看到了这个错误 这似乎表明服务器没有运行,但我已经验证它是否在localhost:8000上正确运行。你知道如何调试这个吗 firefox opening. At 1 type and toggle.hux /usr/local/lib/node_modules/huxley/node_modules/selenium-webdriver/lib/webdrive

我正努力让赫胥黎跑掉。在全局安装之后,我安装了节点selenium驱动程序,克隆了repo,并尝试在示例上运行Huxley。但是我看到了这个错误

这似乎表明服务器没有运行,但我已经验证它是否在localhost:8000上正确运行。你知道如何调试这个吗

firefox opening.

At 1 type and toggle.hux

/usr/local/lib/node_modules/huxley/node_modules/selenium-webdriver/lib/webdriver/promise.js:1549
      throw error;
            ^
Error: ECONNREFUSED connect ECONNREFUSED
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/huxley/node_modules/selenium-webdriver/http/index.js:127:16)
    at ClientRequest.EventEmitter.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1547:9)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:440:14
    at process._tickCallback (node.js:415:13)
==== async task ====
WebDriver.createSession()
    at Function.webdriver.WebDriver.acquireSession_ (/usr/local/lib/node_modules/huxley/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:131:49)
    at Function.webdriver.WebDriver.createSession (/usr/local/lib/node_modules/huxley/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:111:30)
    at Builder.build (/usr/local/lib/node_modules/huxley/node_modules/selenium-webdriver/builder.js:105:20)
    at _open (/usr/local/lib/node_modules/huxley/source/browser/driver.js:28:6)
    at Object.open (/usr/local/lib/node_modules/huxley/source/browser/driver.js:49:3)
    at _openRunAndClose (/usr/local/lib/node_modules/huxley/index.js:76:11)
    at /usr/local/lib/node_modules/huxley/index.js:169:5
    at /usr/local/lib/node_modules/huxley/index.js:217:5
    at /usr/local/lib/node_modules/huxley/source/playback/getPlaybackInfos.js:121:5
firefox正在打开。
在1处键入并切换.hux
/usr/local/lib/node_modules/huxley/node_modules/selenium-webdriver/lib/webdriver/promise.js:1549
投掷误差;
^
错误:ECONREFUNCE connect ECONREFUNCE
在ClientRequest。(/usr/local/lib/node_modules/huxley/node_modules/selenium webdriver/http/index.js:127:16)
在ClientRequest.EventEmitter.emit(events.js:95:17)
位于Socket.socketErrorListener(http.js:1547:9)
位于Socket.EventEmitter.emit(events.js:95:17)
net.js:440:14
在进程中调用(node.js:415:13)
==异步任务====
WebDriver.createSession()
位于Function.webdriver.webdriver.acquireSession(/usr/local/lib/node_modules/huxley/node_modules/selenium webdriver/lib/webdriver/webdriver.js:131:49)
位于Function.webdriver.webdriver.createSession(/usr/local/lib/node_modules/huxley/node_modules/selenium webdriver/lib/webdriver/webdriver.js:111:30)
在Builder.build(/usr/local/lib/node_modules/huxley/node_modules/selenium webdriver/Builder.js:105:20)
打开时(/usr/local/lib/node\u modules/huxley/source/browser/driver.js:28:6)
在Object.open(/usr/local/lib/node_modules/huxley/source/browser/driver.js:49:3)
在openRunAndClose(/usr/local/lib/node\u modules/huxley/index.js:76:11)
at/usr/local/lib/node_modules/huxley/index.js:169:5
at/usr/local/lib/node_modules/huxley/index.js:217:5
at/usr/local/lib/node_modules/huxley/source/playback/getPlaybackInfos.js:121:5

您开始使用selenium了吗?()

啊,好了。我以前没有用过硒,所以我从来没有想过要真正开始使用它!谢谢。不过,我偶然发现了这个问题。如果您有其他问题,可以将其发布到github上。