RemoteMouse
in package
implements
WebDriverMouse
Execute mouse commands for RemoteWebDriver.
Table of Contents
Interfaces
- WebDriverMouse
- Interface representing basic mouse operations.
Properties
- $executor : RemoteExecuteMethod
- $isW3cCompliant : bool
Methods
- __construct() : mixed
- click() : RemoteMouse
- contextClick() : RemoteMouse
- doubleClick() : RemoteMouse
- mouseDown() : RemoteMouse
- mouseMove() : RemoteMouse
- mouseUp() : RemoteMouse
- moveIfNeeded() : mixed
- createClickActions() : array<string|int, mixed>
- createMoveAction() : array<string|int, mixed>
Properties
$executor
private
RemoteExecuteMethod
$executor
$isW3cCompliant
private
bool
$isW3cCompliant
Methods
__construct()
public
__construct(RemoteExecuteMethod $executor[, bool $isW3cCompliant = false ]) : mixed
Parameters
- $executor : RemoteExecuteMethod
- $isW3cCompliant : bool = false
click()
public
click([WebDriverCoordinates $where = null ]) : RemoteMouse
Parameters
- $where : WebDriverCoordinates = null
Return values
RemoteMousecontextClick()
public
contextClick([WebDriverCoordinates $where = null ]) : RemoteMouse
Parameters
- $where : WebDriverCoordinates = null
Return values
RemoteMousedoubleClick()
public
doubleClick([WebDriverCoordinates $where = null ]) : RemoteMouse
Parameters
- $where : WebDriverCoordinates = null
Return values
RemoteMousemouseDown()
public
mouseDown([WebDriverCoordinates $where = null ]) : RemoteMouse
Parameters
- $where : WebDriverCoordinates = null
Return values
RemoteMousemouseMove()
public
mouseMove([WebDriverCoordinates $where = null ][, int|null $x_offset = null ][, int|null $y_offset = null ]) : RemoteMouse
Parameters
- $where : WebDriverCoordinates = null
- $x_offset : int|null = null
- $y_offset : int|null = null
Return values
RemoteMousemouseUp()
public
mouseUp([WebDriverCoordinates $where = null ]) : RemoteMouse
Parameters
- $where : WebDriverCoordinates = null
Return values
RemoteMousemoveIfNeeded()
protected
moveIfNeeded([WebDriverCoordinates $where = null ]) : mixed
Parameters
- $where : WebDriverCoordinates = null
createClickActions()
private
createClickActions() : array<string|int, mixed>
Return values
array<string|int, mixed>createMoveAction()
private
createMoveAction([WebDriverCoordinates $where = null ][, int|null $x_offset = null ][, int|null $y_offset = null ]) : array<string|int, mixed>
Parameters
- $where : WebDriverCoordinates = null
- $x_offset : int|null = null
- $y_offset : int|null = null