thoughtbot/capybara-webkit — pull request #307 by cwninja (2012-03-29 17:44:38+00:00)
Title: Allow the viewport to be resized

## Use case

We're currently migrating our old selenium acceptance tests over, and the one blocker remaining is checking that large window sizes inject an iframe/lightbox into the client's page, while small window sizes navigate to the page normally rendered inside the iframe.

## Features

This pull request adds a Capybara::Driver::Webkit#resize_window(width, height) method, to change the size of the browser viewport.

## Misc

I've included specs, but could not find where is appropriate to document this feature, so have just left it alone. I hope this is ok.