lib/WebDriverPoint.php
public function equals(self $point)
    {
        return $this->x === $point->getX() &&
        $this->y === $point->getY();
    }
public function equals(self $point)
    {
        return $this->x === $point->getX() &&
        $this->y === $point->getY();
    }
public function equals ( self $ point ) { return $ this -> x === $ point -> getX ( ) && $ this -> y === $ point -> getY ( ) ; }
Check whether the given point is the same as the instance.

@param WebDriverPoint $point The point to be compared with.
@return bool Whether the x and y coordinates are the same as the instance.
Check whether the given point is the same as the instance .