mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
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:
parent
30590e1bf8
commit
123690bb2e
14
selenium-webdriver/index.d.ts
vendored
14
selenium-webdriver/index.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user