public function resizeWindow($width, $height, $name = null) {
    if ($name !== null) {
      //TODO: add this on the phantomjs stuff
      throw new DriverException("Resizing other window than the main one is not supported yet");
    }
    $this->browser->resize($width, $height);
  }
public function resizeWindow($width, $height, $name = null) {
    if ($name !== null) {
      //TODO: add this on the phantomjs stuff
      throw new DriverException("Resizing other window than the main one is not supported yet");
    }
    $this->browser->resize($width, $height);
  }
public function resizeWindow ( $ width , $ height , $ name = null ) { if ( $ name !== null ) { //TODO: add this on the phantomjs stuff throw new DriverException ( "Resizing other window than the main one is not supported yet" ) ; } $ this -> browser -> resize ( $ width , $ height ) ; }
Resizing a window with specified size
@param int    $width
@param int    $height
@param string $name
@throws DriverException
Resizing a window with specified size