javascript - How Do I Configure Phantom.js? -
please me configure phantom.js on windows 8 pc.
i downloaded http://phantomjs.org/download.html
it gives me zip file has 1 .exe file that's it. when open it, console screen. do?
ps: want setup screen capturing javascript phantom.js in localhost.
phantomjs headless webkit scriptable javascript api. it's command line tool.
assuming phantomjs executable placed somewhere in current path, can invoked follows:
> phantomjs [options] somescript.js [arg1 [arg2 [...]]]
it's not difficult create script (read doc) , can find many examples on internet.
there example screen capture : rasterize
> phantomjs rasterize.js http://stackoverflow.com/questions/23016473/how-do-i-configure-phantom-js so.png
Comments
Post a Comment