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/except...@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. 



-- 
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 nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/69efe626-bf2b-405c-a39a-8ed76325c75b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to