File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
dotnet/src/webdriver/Interactions Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,14 @@ public IList<ActionSequence> ToActionSequenceList()
66
66
return new List < ActionSequence > ( this . sequences . Values ) . AsReadOnly ( ) ;
67
67
}
68
68
69
+ /// <summary>
70
+ /// Resets the list of sequences.
71
+ /// </summary>
72
+ public void ClearSequences ( )
73
+ {
74
+ this . sequences = new Dictionary < InputDevice , ActionSequence > ( ) ;
75
+ }
76
+
69
77
/// <summary>
70
78
/// Returns a string that represents the current <see cref="ActionBuilder"/>.
71
79
/// </summary>
Original file line number Diff line number Diff line change @@ -483,6 +483,7 @@ public IAction Build()
483
483
public void Perform ( )
484
484
{
485
485
this . actionExecutor . PerformActions ( this . actionBuilder . ToActionSequenceList ( ) ) ;
486
+ this . actionBuilder . ClearSequences ( ) ;
486
487
}
487
488
488
489
/// <summary>
You can’t perform that action at this time.
0 commit comments