WebDriverMoveToOffsetAction
extends WebDriverMouseAction
in package
implements
WebDriverAction
Base class for all mouse-related actions.
Table of Contents
Interfaces
- WebDriverAction
- Interface representing a single user-interaction action.
Properties
- $locationProvider : WebDriverLocatable
- $mouse : WebDriverMouse
- $xOffset : int|null
- $yOffset : int|null
Methods
- __construct() : mixed
- perform() : mixed
- getActionLocation() : null|WebDriverCoordinates
- moveToLocation() : mixed
Properties
$locationProvider
protected
WebDriverLocatable
$locationProvider
$mouse
protected
WebDriverMouse
$mouse
$xOffset
private
int|null
$xOffset
$yOffset
private
int|null
$yOffset
Methods
__construct()
public
__construct(WebDriverMouse $mouse[, WebDriverLocatable $location_provider = null ][, int|null $x_offset = null ][, int|null $y_offset = null ]) : mixed
Parameters
- $mouse : WebDriverMouse
- $location_provider : WebDriverLocatable = null
- $x_offset : int|null = null
- $y_offset : int|null = null
perform()
public
perform() : mixed
getActionLocation()
protected
getActionLocation() : null|WebDriverCoordinates
Return values
null|WebDriverCoordinatesmoveToLocation()
protected
moveToLocation() : mixed