Class CommandExecutionHelper

java.lang.Object
io.appium.java_client.CommandExecutionHelper

public final class CommandExecutionHelper extends Object
  • Method Details

    • execute

      public static <T> @Nullable T execute(ExecutesMethod executesMethod, Map.Entry<String,Map<String,?>> keyValuePair)
    • execute

      public static <T> @Nullable T execute(ExecutesMethod executesMethod, String command)
    • executeScript

      public static <T> @Nullable T executeScript(ExecutesMethod executesMethod, String scriptName)
    • 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.