Getting current window size 12/08/2013
# Getting the window size 
size = browser.window.size

# Height and width can be checked with
p size.height
p size.width

In some cases it can be useful to check the size of the currently active window even though setting the size is a more common operation.