/// <summary>
 /// Perform the touch action
 /// </summary>
 /// <param name="touchAction">touch action to perform</param>
 public void PerformTouchAction(ITouchAction touchAction)
 {
     if (touchAction != null)
     {
         var parameters = new Dictionary <string, object>();
         parameters.Add("actions", touchAction.GetParameters());
         Execute(AppiumDriverCommand.PerformTouchAction, parameters);
     }
 }
Пример #2
0
        public void PerformTouchAction(ITouchAction touchAction)
        {
            if (touchAction == null)
            {
                return;
            }
            var parameters = AppiumCommandExecutionHelper.PrepareArgument("actions", touchAction.GetParameters());

            Execute(AppiumDriverCommand.PerformTouchAction, parameters);
        }
Пример #3
0
        /// <summary>
        /// Perform the touch action
        /// </summary>
        /// <param name="touchAction">touch action to perform</param>
        public void PerformTouchAction(ITouchAction touchAction)
        {
            if (null == touchAction)
            {
                return; // do nothing
            }

            var parameters = new Dictionary <string, object>();

            parameters.Add("actions", touchAction.GetParameters());
            this.Execute(AppiumDriverCommand.PerformTouchAction, parameters);
        }