javascript - How can I get PhantomJS to set viewport height the same as document height for screen capture? -


i'm using phantomjs included rasterize script automate screen capture need image same height document, varies.

actually, found out issue was. there overflow-x: hidden coming down linked style sheet , phantom choking on that. set visible , worked charm. did rewrite rasterize scratch there no sizes passed, , phantom default match viewport document height.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -