WebDriverPoint
class WebDriverPoint (View source)
Represent a point.
Methods
__construct($x, $y)
No description
int
getX()
Get the x-coordinate.
int
getY()
Get the y-coordinate.
move(int $new_x, int $new_y)
Set the point to a new position.
moveBy(int $x_offset, int $y_offset)
Move the current by offsets.
bool
Details
__construct($x, $y)
No description
int
getX()
Get the x-coordinate.
int
getY()
Get the y-coordinate.
WebDriverPoint
move(int $new_x, int $new_y)
Set the point to a new position.
WebDriverPoint
moveBy(int $x_offset, int $y_offset)
Move the current by offsets.
bool
equals(WebDriverPoint $point)
Check whether the given point is the same as the instance.