首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用示例测试启动节点-huxley

使用示例测试启动节点-huxley
EN

Stack Overflow用户
提问于 2014-04-23 07:23:04
回答 1查看 249关注 0票数 0

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

这似乎表明服务器没有运行,但我已经验证它在localhost上运行:8000正确。有什么办法来调试这个吗?

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-04-23 17:48:47

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23237556

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档