io.appium.java_client.flutter.SupportsGestureOnFlutterElements Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java client for Appium Mobile Webdriver
The newest version!
package io.appium.java_client.flutter;
import io.appium.java_client.flutter.commands.DoubleClickParameter;
import io.appium.java_client.flutter.commands.DragAndDropParameter;
import io.appium.java_client.flutter.commands.LongPressParameter;
public interface SupportsGestureOnFlutterElements extends CanExecuteFlutterScripts {
/**
* Performs a double click action on an element.
*
* @param parameter The parameters for double-clicking, specifying element details.
*/
default void performDoubleClick(DoubleClickParameter parameter) {
executeFlutterCommand("doubleClick", parameter);
}
/**
* Performs a long press action on an element.
*
* @param parameter The parameters for long pressing, specifying element details.
*/
default void performLongPress(LongPressParameter parameter) {
executeFlutterCommand("longPress", parameter);
}
/**
* Performs a drag-and-drop action between two elements.
*
* @param parameter The parameters for drag-and-drop, specifying source and target elements.
*/
default void performDragAndDrop(DragAndDropParameter parameter) {
executeFlutterCommand("dragAndDrop", parameter);
}
}