HumHub Documentation (unofficial)

WebDriverTouchActions extends WebDriverActions
in package

WebDriver action builder for touch events

Table of Contents

Properties

$action  : mixed
$driver  : mixed
$keyboard  : mixed
$mouse  : mixed
$touchScreen  : WebDriverTouchScreen

Methods

__construct()  : mixed
click()  : WebDriverActions
Mouse click.
clickAndHold()  : WebDriverActions
Mouse click and hold.
contextClick()  : WebDriverActions
Context-click (right click).
doubleClick()  : WebDriverActions
Double click.
doubleTap()  : WebDriverTouchActions
down()  : WebDriverTouchActions
dragAndDrop()  : WebDriverActions
Drag and drop from $source to $target.
dragAndDropBy()  : WebDriverActions
Drag $source and drop by offset ($x_offset, $y_offset).
flick()  : WebDriverTouchActions
flickFromElement()  : WebDriverTouchActions
keyDown()  : WebDriverActions
Press a key on keyboard.
keyUp()  : WebDriverActions
Release a key on keyboard.
longPress()  : WebDriverTouchActions
move()  : WebDriverTouchActions
moveByOffset()  : WebDriverActions
Mouse move by offset.
moveToElement()  : WebDriverActions
Move to the middle of the given WebDriverElement.
perform()  : mixed
A convenience method for performing the actions without calling build().
release()  : WebDriverActions
Release the mouse button.
scroll()  : WebDriverTouchActions
scrollFromElement()  : WebDriverTouchActions
sendKeys()  : WebDriverActions
Send keys by keyboard.
tap()  : WebDriverTouchActions
up()  : WebDriverTouchActions

Properties

Methods

moveToElement()

Move to the middle of the given WebDriverElement.

public moveToElement(WebDriverElement $element[, int $x_offset = null ][, int $y_offset = null ]) : WebDriverActions

Extra shift, calculated from the top-left corner of the element, can be set by passing $x_offset and $y_offset parameters.

Parameters
$element : WebDriverElement
$x_offset : int = null
$y_offset : int = null
Return values
WebDriverActions

perform()

A convenience method for performing the actions without calling build().

public perform() : mixed
Loading…
On this page

Search results