lib/WebDriverDimension.php
public function equals(self $dimension)
    {
        return $this->height === $dimension->getHeight() && $this->width === $dimension->getWidth();
    }
public function equals(self $dimension)
    {
        return $this->height === $dimension->getHeight() && $this->width === $dimension->getWidth();
    }
public function equals ( self $ dimension ) { return $ this -> height === $ dimension -> getHeight ( ) && $ this -> width === $ dimension -> getWidth ( ) ; }
Check whether the given dimension is the same as the instance.

@param WebDriverDimension $dimension The dimension to be compared with.
@return bool Whether the height and the width are the same as the instance.
Check whether the given dimension is the same as the instance .