You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nodejs
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/Exce...@type.png) 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.
manoflinux
unread,
Sep 28, 2017, 7:43:53 PM9/28/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nodejs
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.