View the pdf file & verify contents(text) In Protractor Javascript (IE & chrome) -


is there way retrieve stream(text) url 'http://www.princexml.com/samples/flyer/flyer.pdf' using javascript(in protractor), process & contents of either variable or text file out downloading it

currently i'm able achieve using http.request() specified in 'http://www.hacksparrow.com/using-node-js-to-download-files.html' & saving new pdf file, parsing new file using pdfreader.js , getting contents. want process buffer http.request() & return contents directly without saving/downloading , processing contents.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -