alexscheelmeyer/node-phantom — pull request #62 by davidmfoley (2013-06-24 16:23:47+00:00)
Title: Allow setting of phantom viewport size

Adds a setViewport function to page that takes an object with width and height (in pixels):

```page.setViewport({width: 1280, height: 1024});```

This is useful if you are capturing screenshots of test failures.