types(selenium-webdriver): re-add chord method for selenium inputs (#13513)

* Re-Adds a previously removed definition for the `chord` method in the `selenium-webdriver`.
  
Reference to the source: https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/input.js#L111-L125
Reference to the SHA that removed the `definition`: 4cf3256fe8
This commit is contained in:
Paul Gschwendtner 2016-12-22 22:40:36 +01:00 committed by Andy
parent 30590e1bf8
commit 123690bb2e

View File

@ -1659,6 +1659,20 @@ declare namespace webdriver {
COMMAND: string; // Apple command key
META: string; // alias for Windows key
/**
* Simulate pressing many keys at once in a "chord". Takes a sequence of
* keys or strings, appends each of the values to a string,
* and adds the chord termination key ({@link webdriver.Key.NULL}) and returns
* the resulting string.
*
* Note: when the low-level webdriver key handlers see Keys.NULL, active
* modifier keys (CTRL/ALT/SHIFT/etc) release via a keyup event.
*
* @param {...string} var_args The key sequence to concatenate.
* @return {string} The null-terminated key sequence.
*/
chord: (...var_args: string[]) => string;
}
/**