Skip to content

Commit

Permalink
Adding Reset method to Actions class
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Aug 8, 2019
1 parent 8f95c01 commit 4949f5b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dotnet/src/webdriver/Interactions/Actions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,11 @@ public void Perform()
this.actionExecutor.PerformActions(this.actionBuilder.ToActionSequenceList());
}

public void Reset()
{
this.actionBuilder = new ActionBuilder();
}

/// <summary>
/// Gets the <see cref="ILocatable"/> instance of the specified <see cref="IWebElement"/>.
/// </summary>
Expand Down

0 comments on commit 4949f5b

Please sign in to comment.