Package io.appium.java_client.flutter
Interface CanExecuteFlutterScripts
-
- All Superinterfaces:
org.openqa.selenium.JavascriptExecutor
- All Known Subinterfaces:
FlutterIntegrationTestDriver
,SupportsFlutterCameraMocking
,SupportsGestureOnFlutterElements
,SupportsScrollingOfFlutterElements
,SupportsWaitingForFlutterElements
- All Known Implementing Classes:
FlutterAndroidDriver
,FlutterIOSDriver
public interface CanExecuteFlutterScripts extends org.openqa.selenium.JavascriptExecutor
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.Object
executeFlutterCommand(java.lang.String scriptName, FlutterCommandParameter parameter)
Executes a Flutter-specific script using JavascriptExecutor.default java.lang.Object
executeFlutterCommand(java.lang.String scriptName, java.util.Map<java.lang.String,java.lang.Object> args)
Executes a Flutter-specific script using JavascriptExecutor.
-
-
-
Method Detail
-
executeFlutterCommand
default java.lang.Object executeFlutterCommand(java.lang.String scriptName, FlutterCommandParameter parameter)
Executes a Flutter-specific script using JavascriptExecutor.- Parameters:
scriptName
- The name of the Flutter script to execute.parameter
- The parameters for the Flutter command.- Returns:
- The result of executing the script.
-
executeFlutterCommand
default java.lang.Object executeFlutterCommand(java.lang.String scriptName, java.util.Map<java.lang.String,java.lang.Object> args)
Executes a Flutter-specific script using JavascriptExecutor.- Parameters:
scriptName
- The name of the Flutter script to execute.args
- The args for the Flutter command in Map format.- Returns:
- The result of executing the script.
-
-