src/Services/ManageWindow.php
public function setWidth($width)
    {
        return $this->wd->manage()
            ->window()
            ->setPosition(new WebDriverPoint($width, self::BROWSER_HEIGHT));
    }
public function setWidth($width)
    {
        return $this->wd->manage()
            ->window()
            ->setPosition(new WebDriverPoint($width, self::BROWSER_HEIGHT));
    }
public function setWidth ( $ width ) { return $ this -> wd -> manage ( ) -> window ( ) -> setPosition ( new WebDriverPoint ( $ width , self :: BROWSER_HEIGHT ) ) ; }
Set the current window's width.

@param $width

@return \Facebook\WebDriver\WebDriverWindow
Set the current window s width .