Created
February 17, 2015 20:18
-
-
Save jasonsperske/74627f07e5a5f5bff24d to your computer and use it in GitHub Desktop.
An attempt to implement http://stackoverflow.com/a/28570093/16959
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var page = require('webpage').create(); | |
page.open('http://github.com/', function() { | |
page.render('github.png'); | |
phantom.exit(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\phantomjs-2.0.0-windows\bin>phantomjs.exe so.js | |
PhantomJS has crashed. Please read the crash reporting guide at | |
<http://phantomjs.org/crash-reporting.html> and file a bug report at | |
<https://github.com/ariya/phantomjs/issues/new>. | |
Unfortunately, no crash dump is available. | |
(Is %TEMP% (C:\Users\JASONS~1.GNL\AppData\Local\Temp) a directory you cannot write?) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var page = require('webpage').create(); | |
page.open('http://89.215.196.209/Anatomy%20%28Histology%29%20data%20parser.htm', function() { | |
page.render('Anatomy.png'); | |
phantom.exit(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment