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
Post a Comment