src/Services/ManageWindow.php
public function changeWindowSize(int $width = 1024, int $height = 768)
    {
        $this->wd->manage()->window()->setPosition(new WebDriverPoint($width, $height));

        return $this;
    }
public function changeWindowSize(int $width = 1024, int $height = 768)
    {
        $this->wd->manage()->window()->setPosition(new WebDriverPoint($width, $height));

        return $this;
    }
public function changeWindowSize ( int $ width = 1024 , int $ height = 768 ) { $ this -> wd -> manage ( ) -> window ( ) -> setPosition ( new WebDriverPoint ( $ width , $ height ) ) ; return $ this ; }
Change the current window's width and height.

@param int $width
@param int $height

@return $this
Change the current window s width and height .