File tree 1 file changed +6
-5
lines changed
javascript/node/selenium-webdriver/lib
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -126,11 +126,11 @@ const Key = {
126
126
* Note: when the low-level webdriver key handlers see Keys.NULL, active
127
127
* modifier keys (CTRL/ALT/SHIFT/etc) release via a keyup event.
128
128
*
129
- * @param {...string } var_args The key sequence to concatenate.
129
+ * @param {...string } keys The key sequence to concatenate.
130
130
* @return {string } The null-terminated key sequence.
131
131
*/
132
- Key . chord = function ( keys ) {
133
- return Array . prototype . slice . call ( arguments , 0 ) . join ( '' ) + Key . NULL ;
132
+ Key . chord = function ( ... keys ) {
133
+ return keys . join ( '' ) + Key . NULL ;
134
134
} ;
135
135
136
136
@@ -179,7 +179,7 @@ Action.prototype.type;
179
179
/** @type {(number|undefined) } */
180
180
Action . prototype . duration ;
181
181
182
- /** @type {(number |undefined) } */
182
+ /** @type {(string |undefined) } */
183
183
Action . prototype . value ;
184
184
185
185
/** @type {(Button|undefined) } */
@@ -315,7 +315,8 @@ class Sequence {
315
315
}
316
316
317
317
/**
318
- * @return {boolean } whether this sequence contains any non-pause actions.
318
+ * @return {boolean } whether this sequence is empty or contains only
319
+ * {@linkplain #pause pause} actions.
319
320
* @final
320
321
*/
321
322
isIdle ( ) {
You can’t perform that action at this time.
0 commit comments