class RemoteMouse implements WebDriverMouse (View source)

Execute mouse commands for RemoteWebDriver.

Constants

internal BUTTON_LEFT

internal BUTTON_MIDDLE

internal BUTTON_RIGHT

Methods

__construct(RemoteExecuteMethod $executor, bool $isW3cCompliant = false)

No description

click(WebDriverCoordinates $where = null)

No description

contextClick(WebDriverCoordinates $where = null)

No description

doubleClick(WebDriverCoordinates $where = null)

No description

mouseDown(WebDriverCoordinates $where = null)

No description

mouseMove(WebDriverCoordinates $where = null, int $x_offset = null, int $y_offset = null)

No description

mouseUp(WebDriverCoordinates $where = null)

No description

moveIfNeeded(WebDriverCoordinates $where = null)

No description

Details

__construct(RemoteExecuteMethod $executor, bool $isW3cCompliant = false)

No description

Parameters

RemoteExecuteMethod $executor
bool $isW3cCompliant

WebDriverMouse click(WebDriverCoordinates $where = null)

No description

Parameters

WebDriverCoordinates $where

Return Value

WebDriverMouse

WebDriverMouse contextClick(WebDriverCoordinates $where = null)

No description

Parameters

WebDriverCoordinates $where

Return Value

WebDriverMouse

WebDriverMouse doubleClick(WebDriverCoordinates $where = null)

No description

Parameters

WebDriverCoordinates $where

Return Value

WebDriverMouse

WebDriverMouse mouseDown(WebDriverCoordinates $where = null)

No description

Parameters

WebDriverCoordinates $where

Return Value

WebDriverMouse

WebDriverMouse mouseMove(WebDriverCoordinates $where = null, int $x_offset = null, int $y_offset = null)

No description

Parameters

WebDriverCoordinates $where
int $x_offset
int $y_offset

Return Value

WebDriverMouse

WebDriverMouse mouseUp(WebDriverCoordinates $where = null)

No description

Parameters

WebDriverCoordinates $where

Return Value

WebDriverMouse

protected moveIfNeeded(WebDriverCoordinates $where = null)

No description

Parameters

WebDriverCoordinates $where