简体   繁体   English

Phantomjs中的Flexbox支持在html2ng node.js中使用

[英]Flexbox support in Phantomjs to use in html2ng node.js

I am trying to take a screen shot of website using node.js module html2png which uses phantomjs version 1.9. 我试图使用node.js模块html2png使用phantomjs版本1.9拍摄网站的屏幕截图。 I read it somewhere that this version of phantomjs does not support flexbox property of css. 我在某处看到这个版本的phantomjs不支持css的flexbox属性。 Can anyone please let me how to support flexbox property in phantomjs. 任何人都可以让我如何支持phantomjs中的flexbox属性。 or any work around. 或任何解决方法。

Try to use the latest 2.5beta: https://bitbucket.org/ariya/phantomjs/downloads 尝试使用最新的2.5beta: https ://bitbucket.org/ariya/phantomjs/downloads

You probably could swap the old binary for the new one. 您可能可以将旧二进制文件替换为新二进制文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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