Nearsoft\SeleniumClient\Window::getSize PHP Method

getSize() public method

Gets current window's size
public getSize ( ) : Array
return Array
    public function getSize()
    {
        $command = new Commands\Command($this->_driver, 'get_window_size', null, array('window_handle' => 'current'));
        $results = $command->execute();
        return $results['value'];
    }