public function getCurrentWindowSize()
{
// shorthand
$browser = $this->device;
// what are we doing?
$log = usingLog()->startAction("retrieve the current browser window's dimensions");
// get the dimensions
$dimensions = $browser->window()->getSize();
// all done
$log->endAction("width: '{$dimensions['width']}'; height: '{$dimensions['height']}'");
return array('width' => $dimensions['width'], 'height' => $dimensions['height']);
}