Skip to content

Commit 4949f5b

Browse files
committed
Adding Reset method to Actions class
1 parent 8f95c01 commit 4949f5b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dotnet/src/webdriver/Interactions/Actions.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,11 @@ public void Perform()
422422
this.actionExecutor.PerformActions(this.actionBuilder.ToActionSequenceList());
423423
}
424424

425+
public void Reset()
426+
{
427+
this.actionBuilder = new ActionBuilder();
428+
}
429+
425430
/// <summary>
426431
/// Gets the <see cref="ILocatable"/> instance of the specified <see cref="IWebElement"/>.
427432
/// </summary>

0 commit comments

Comments
 (0)