We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e59594f commit c0a101fCopy full SHA for c0a101f
java/client/src/org/openqa/selenium/Keys.java
@@ -17,6 +17,8 @@
17
18
package org.openqa.selenium;
19
20
+import java.util.Arrays;
21
+
22
/**
23
* Representations of pressable keys that aren't text. These are stored in the Unicode PUA (Private
24
* Use Area) code points, 0xE000-0xF8FF.
@@ -142,6 +144,13 @@ public String toString() {
142
144
* Issue: http://code.google.com/p/webdriver/issues/detail?id=79
143
145
*/
146
public static String chord(CharSequence... value) {
147
+ return chord(Arrays.asList(value));
148
+ }
149
150
+ /**
151
+ * @see #chord(CharSequence...)
152
+ */
153
+ public static String chord(Iterable<CharSequence> value) {
154
StringBuilder builder = new StringBuilder();
155
156
for (CharSequence seq : value) {
0 commit comments