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