diff --git a/dotnet/src/webdriver/Interactions/ActionBuilder.cs b/dotnet/src/webdriver/Interactions/ActionBuilder.cs index cf7383fad9f3e..de9ce42a66af4 100644 --- a/dotnet/src/webdriver/Interactions/ActionBuilder.cs +++ b/dotnet/src/webdriver/Interactions/ActionBuilder.cs @@ -41,7 +41,7 @@ public class ActionBuilder /// A self reference. public ActionBuilder AddAction(Interaction actionToAdd) { - this.ProcessTick(actionToAdd); + this.AddActions(actionToAdd); return this; } @@ -91,20 +91,6 @@ public override string ToString() return builder.ToString(); } - private void ProcessTick(Interaction interaction) - { - ActionSequence sequence = this.GetOrAddSequence(interaction.SourceDevice); - sequence.AddAction(interaction); - - foreach (KeyValuePair pair in this.sequences) - { - if (pair.Key != interaction.SourceDevice) - { - pair.Value.AddAction(new PauseInteraction(pair.Key, TimeSpan.Zero)); - } - } - } - private void ProcessTick(params Interaction[] interactionsToAdd) { List usedDevices = new List();