Class AppiumExecutionMethod

  • All Implemented Interfaces:
    org.openqa.selenium.remote.ExecuteMethod

    public class AppiumExecutionMethod
    extends java.lang.Object
    implements org.openqa.selenium.remote.ExecuteMethod
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object execute​(java.lang.String commandName, java.util.Map<java.lang.String,​?> parameters)
      This method executes a command supported by Appium JSONWP.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AppiumExecutionMethod

        public AppiumExecutionMethod​(AppiumDriver driver)
    • Method Detail

      • execute

        public java.lang.Object execute​(java.lang.String commandName,
                                        java.util.Map<java.lang.String,​?> parameters)
        This method executes a command supported by Appium JSONWP.
        Specified by:
        execute in interface org.openqa.selenium.remote.ExecuteMethod
        Parameters:
        commandName - a JSONWP command
        parameters - is a map which contains parameter names as keys and parameter values
        Returns:
        a command execution result