We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd2b856 commit a951a8cCopy full SHA for a951a8c
java/client/src/org/openqa/selenium/interactions/CompositeAction.java
@@ -17,6 +17,8 @@
17
18
package org.openqa.selenium.interactions;
19
20
+import com.google.common.collect.ImmutableList;
21
+
22
import java.util.ArrayList;
23
import java.util.List;
24
@@ -41,4 +43,8 @@ public CompositeAction addAction(Action action) {
41
43
public int getNumberOfActions() {
42
44
return actionsList.size();
45
}
46
47
+ public List<Action> asList() {
48
+ return ImmutableList.copyOf(actionsList);
49
+ }
50
0 commit comments