src/Browser.php
public function resize($width, $height)
    {
        $this->driver->manage()->window()->setSize(
            new WebDriverDimension($width, $height)
        );

        return $this;
    }
public function resize($width, $height)
    {
        $this->driver->manage()->window()->setSize(
            new WebDriverDimension($width, $height)
        );

        return $this;
    }
public function resize ( $ width , $ height ) { $ this -> driver -> manage ( ) -> window ( ) -> setSize ( new WebDriverDimension ( $ width , $ height ) ) ; return $ this ; }
Resize the browser window.

@param  int  $width
@param  int  $height
@return $this
Resize the browser window .