简体   繁体   中英

How do I get started with phantomJS?

Been searching for a solution to printscreen or export my amCharts. I have never used phantomJS but looking into it, I think it will help me acheive my goals.

I am struggling to understand how to get started with it though, It downloads as an executable - would I run the executable as a link along with the function I would like ie rasterize.js.

It is very new to me and I would appreciate the help.

You would just call phantomjs.exe rasterize.js http://someurl.com yourlocalfile.pdf .

You can also add options like papaerformat and zoom.

Take a look at the quick start page

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM