Performs the specified list of actions with this action executor. The list of action sequences to perform.
(IList<ActionSequence> actionSequenceList)
| 383 | /// </summary> |
| 384 | /// <param name="actionSequenceList">The list of action sequences to perform.</param> |
| 385 | public void PerformActions(IList<ActionSequence> actionSequenceList) |
| 386 | { |
| 387 | if (actionSequenceList == null) |
| 388 | { |
| 389 | throw new ArgumentNullException(nameof(actionSequenceList), "List of action sequences must not be null"); |
| 390 | } |
| 391 | |
| 392 | List<object> objectList = new List<object>(); |
| 393 | foreach (ActionSequence sequence in actionSequenceList) |
| 394 | { |
| 395 | objectList.Add(sequence.ToDictionary()); |
| 396 | } |
| 397 | |
| 398 | Dictionary<string, object?> parameters = new Dictionary<string, object?>(); |
| 399 | parameters["actions"] = objectList; |
| 400 | |
| 401 | this.Execute(DriverCommand.Actions, parameters); |
| 402 | } |
| 403 | |
| 404 | /// <summary> |
| 405 | /// Resets the input state of the action executor. |
no test coverage detected