Example usage for org.openqa.selenium.interactions TouchScreen flick

List of usage examples for org.openqa.selenium.interactions TouchScreen flick

Introduction

In this page you can find the example usage for org.openqa.selenium.interactions TouchScreen flick.

Prototype

void flick(Coordinates where, int xOffset, int yOffset, int speed);

Source Link

Document

Allows the execution of flick gestures starting in a location's element.

Usage

From source file:org.specrunner.webdriver.actions.touch.PluginFlickOff.java

License:Open Source License

@Override
protected void doEnd(IContext context, IResultSet result, WebDriver client, TouchScreen touch)
        throws PluginException {
    touch.flick(getCoordinates(), getXoffset(), getYoffset(), getSpeed());
    result.addResult(Success.INSTANCE, context.peek());
}