WebDriverTouchScreen
interface WebDriverTouchScreen (View source)
Interface representing touch screen operations.
Methods
Finger down on the screen.
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.
Flick on the touch screen using finger motion events.
Finger move on the screen.
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.
Scroll on the touch screen using finger based motion events. Use this command to start scrolling at a particular screen location.
Finger up on the screen.
Details
$this
tap(WebDriverElement $element)
Single tap on the touch enabled device.
$this
doubleTap(WebDriverElement $element)
Double tap on the touch screen using finger motion events.
$this
down(int $x, int $y)
Finger down on the screen.
$this
flick(int $xspeed, int $yspeed)
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.
$this
flickFromElement(WebDriverElement $element, int $xoffset, int $yoffset, int $speed)
Flick on the touch screen using finger motion events.
This flickcommand starts at a particular screen location.
$this
longPress(WebDriverElement $element)
Long press on the touch screen using finger motion events.
$this
move(int $x, int $y)
Finger move on the screen.
$this
scroll(int $xoffset, int $yoffset)
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.
$this
scrollFromElement(WebDriverElement $element, int $xoffset, int $yoffset)
Scroll on the touch screen using finger based motion events. Use this command to start scrolling at a particular screen location.
$this
up(int $x, int $y)
Finger up on the screen.