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
Modifier and TypeMethodDescriptiondefault ObjectexecuteFlutterCommand(String scriptName, FlutterCommandParameter parameter) Executes a Flutter-specific script using JavascriptExecutor.default ObjectexecuteFlutterCommand(String scriptName, Map<String, Object> args) Executes a Flutter-specific script using JavascriptExecutor.Methods inherited from interface org.openqa.selenium.JavascriptExecutor
executeAsyncScript, executeScript, executeScript, getPinnedScripts, pin, unpin
-
Method Details
-
executeFlutterCommand
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
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.
-