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

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

Introduction

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

Prototype

void move(int x, int y);

Source Link

Document

Allows the execution of the gesture 'move' on the screen.

Usage

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

License:Open Source License

@Override
protected void doEnd(IContext context, IResultSet result, WebDriver client, TouchScreen touch)
        throws PluginException {
    touch.move(getX(), getY());
    result.addResult(Success.INSTANCE, context.peek());
}