Package io.appium.java_client
Class CommandExecutionHelper
java.lang.Object
io.appium.java_client.CommandExecutionHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> @Nullable Texecute(ExecutesMethod executesMethod, String command) static <T> @Nullable Tstatic <T> @Nullable TexecuteScript(ExecutesMethod executesMethod, String scriptName) static <T> @Nullable TexecuteScript(ExecutesMethod executesMethod, String scriptName, @Nullable Map<String, ?> args) Simplifies arguments preparation for the script execution command.
-
Method Details
-
execute
public static <T> @Nullable T execute(ExecutesMethod executesMethod, Map.Entry<String, Map<String, ?>> keyValuePair) -
execute
-
executeScript
-
executeScript
public static <T> @Nullable T executeScript(ExecutesMethod executesMethod, String scriptName, @Nullable Map<String, ?> args) Simplifies arguments preparation for the script execution command.- Parameters:
executesMethod- Method executor instance.scriptName- Extension script name.args- Extension script arguments (if present).- Returns:
- Script execution result.
-