Skip to content

Instantly share code, notes, and snippets.

@ikekou ikekou/capture.js
Last active Aug 29, 2015

What would you like to do?
[node.js][javascript][phantomjs] phantomjsでスクリーンキャプチャ
var page = require('webpage').create();
var width = 1200;
var height = 768;
page.viewportSize = {
width: width,
height: height
};'http://localhost:8000/', function () {
window.setTimeout(function () {
}, 200);
$ phantomjs capture.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.