sorry I had problems posting the files.to this group so I made a handy pastebin with everything but the actual output but you can recreate it from the files I include in the paste.
https://pastebin.com/tusnF1WN On Thursday, September 28, 2017 at 7:34:00 PM UTC-4, manoflinux wrote: > > I am trying to use selenium-html-js-converter to take a very simple > selenium IDE test convert it to nodeJS and run it. > It should be using phatomJS to run the test. > The conversion seems to work with no errors, but when I try to run the > output I get this. > > "../node-v6.11.3-linux-x64/bin/node ./run.js > /home/james/node_modules/make-sync/node_modules/fibers/future.js:280 > throw(ex); > ^ Error: Failure in Selenium command "type("id=uh-search-box", > "selenium")": [elementById("uh-search-box")] Not JSON response (Screenshot > was saved to screenshots/test_outfile/[email protected]) > at exports.newError (/home/james/node_modules/wd/lib/utils.js:139:13) > at /home/james/node_modules/wd/lib/callbacks.js:56:17 > at /home/james/node_modules/wd/lib/webdriver.js:169:5 > at Request._callback (/home/james/node_modules/wd/lib/http-utils.js:78:7) > at Request.self.callback > (/home/james/node_modules/wd/node_modules/request/request.js:121:22) > at emitTwo (events.js:106:13) > at Request.emit (events.js:191:7) > at Request.<anonymous> > (/home/james/node_modules/wd/node_modules/request/request.js:985:14) > at emitOne (events.js:101:20) > at Request.emit (events.js:188:7) > at IncomingMessage.<anonymous> > (/home/james/node_modules/wd/node_modules/request/request.js:936:12) > at emitNone (events.js:91:20) > at IncomingMessage.emit (events.js:185:7) > at endReadableNT (_stream_readable.js:974:12) > at _combinedTickCallback (internal/process/next_tick.js:80:11) > at process._tickCallback (internal/process/next_tick.js:104:9)" > > I have tried a couple of tests, different versions of nodeJS and all get > the same error. any ideas? > I am including the convert script I used and the run script and the output > file that is used by the run script. > > > > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/2cf5baaf-417e-4efd-ad9d-e8128c054567%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
