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

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

Introduction

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

Prototype

void doubleTap(Coordinates where);

Source Link

Document

Allows the execution of double tap on the screen, analogous to double click using a Mouse.

Usage

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

License:Open Source License

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