HumHub Documentation (unofficial)

RemoteTouchScreen
in package
implements WebDriverTouchScreen

Execute touch commands for RemoteWebDriver.

Table of Contents

Interfaces

WebDriverTouchScreen
Interface representing touch screen operations.

Properties

$executor  : RemoteExecuteMethod

Methods

__construct()  : mixed
doubleTap()  : RemoteTouchScreen
Double tap on the touch screen using finger motion events.
down()  : RemoteTouchScreen
Finger down on the screen.
flick()  : RemoteTouchScreen
Flick on the touch screen using finger motion events. Use this flick command if you don't care where the flick starts on the screen.
flickFromElement()  : RemoteTouchScreen
Flick on the touch screen using finger motion events.
longPress()  : RemoteTouchScreen
Long press on the touch screen using finger motion events.
move()  : RemoteTouchScreen
Finger move on the screen.
scroll()  : RemoteTouchScreen
Scroll on the touch screen using finger based motion events. Use this command if you don't care where the scroll starts on the screen.
scrollFromElement()  : RemoteTouchScreen
Scroll on the touch screen using finger based motion events. Use this command to start scrolling at a particular screen location.
tap()  : RemoteTouchScreen
Single tap on the touch enabled device.
up()  : RemoteTouchScreen
Finger up on the screen.

Properties

Methods

flick()

Flick on the touch screen using finger motion events. Use this flick command if you don't care where the flick starts on the screen.

public flick(int $xspeed, int $yspeed) : RemoteTouchScreen
Parameters
$xspeed : int
$yspeed : int
Return values
RemoteTouchScreen

The instance.

scroll()

Scroll on the touch screen using finger based motion events. Use this command if you don't care where the scroll starts on the screen.

public scroll(int $xoffset, int $yoffset) : RemoteTouchScreen
Parameters
$xoffset : int
$yoffset : int
Return values
RemoteTouchScreen

The instance.


        
On this page

Search results