node.js - Starting node-huxley with example tests -
i'm struggling node-huxley run. having installed globally, installed node-selenium driver, cloned repo , tried run huxley on examples. i'm seeing error.
it seems suggest server isn't running, i've verified running on localhost:8000 correctly. ideas how debug this?
firefox opening. @ 1 type , toggle.hux /usr/local/lib/node_modules/huxley/node_modules/selenium-webdriver/lib/webdriver/promise.js:1549 throw error; ^ error: econnrefused connect econnrefused @ clientrequest.<anonymous> (/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 @ process._tickcallback (node.js:415:13) ==== async task ==== 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) @ _open (/usr/local/lib/node_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_modules/huxley/index.js:76:11) @ /usr/local/lib/node_modules/huxley/index.js:169:5 @ /usr/local/lib/node_modules/huxley/index.js:217:5 @ /usr/local/lib/node_modules/huxley/source/playback/getplaybackinfos.js:121:5
have started selenium? (https://github.com/chenglou/node-huxley#installation)
Comments
Post a Comment