Skip to content

Instantly share code, notes, and snippets.

@jasonsperske
Created February 17, 2015 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonsperske/74627f07e5a5f5bff24d to your computer and use it in GitHub Desktop.
Save jasonsperske/74627f07e5a5f5bff24d to your computer and use it in GitHub Desktop.
var page = require('webpage').create();
page.open('http://github.com/', function() {
page.render('github.png');
phantom.exit();
});
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?)
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