Open gregmercer opened 8 years ago
Huh strange. When I tried this without setting phantomPath it worked fine. Currently I'm unable to install phantomjs2 due to this issue: https://github.com/zeevl/phantomjs2/issues/10. However now that the phantomjs-prebuilt module is released I'm going to switch to that soon, and maybe that will fix this.
I'm trying to use siteType='file' on a very simple .html file that contains an img tag, but I'm not seeing the image in the output .png file - simple.png
I'm using phantomjs 2.0 by setting the following option: phantomPath: require('phantomjs2').path,
Here is the specific code I'm using: https://github.com/gregmercer/webshot-simple/tree/master