Class DragAndDropParameter
java.lang.Object
io.appium.java_client.flutter.commands.FlutterCommandParameter
io.appium.java_client.flutter.commands.DragAndDropParameter
-
Constructor Summary
ConstructorsConstructorDescriptionDragAndDropParameter(org.openqa.selenium.WebElement source, org.openqa.selenium.WebElement target) Constructs a new instance ofDragAndDropParameterwith the given source and targetWebElements. -
Method Summary
Methods inherited from class io.appium.java_client.flutter.commands.FlutterCommandParameter
parseFlutterLocator
-
Constructor Details
-
DragAndDropParameter
public DragAndDropParameter(org.openqa.selenium.WebElement source, org.openqa.selenium.WebElement target) Constructs a new instance ofDragAndDropParameterwith the given source and targetWebElements. Throws anIllegalArgumentExceptionif eithersourceortargetisnull.- Parameters:
source- The sourceWebElementfrom which the drag operation starts.target- The targetWebElementwhere the drag operation ends.- Throws:
IllegalArgumentException- ifsourceortargetisnull.
-
-
Method Details
-
toJson
- Specified by:
toJsonin classFlutterCommandParameter
-