mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-11 04:30:14 +00:00
[detox] Add missing tapBackspaceKey() and tapReturnKey() methods (#37129)
This commit is contained in:
committed by
Wesley Wigham
parent
cc53e7ccbe
commit
a031f03c2c
10
types/detox/index.d.ts
vendored
10
types/detox/index.d.ts
vendored
@@ -342,6 +342,16 @@ declare global {
|
||||
* @example await element(by.id('textField')).clearText();
|
||||
*/
|
||||
clearText(): Promise<Actions<R>>;
|
||||
/**
|
||||
* Taps the backspace key on the built-in keyboard.
|
||||
* @example await element(by.id('textField')).tapBackspaceKey();
|
||||
*/
|
||||
tapBackspaceKey(): Promise<Actions<R>>;
|
||||
/**
|
||||
* Taps the return key on the built-in keyboard.
|
||||
* @example await element(by.id('textField')).tapReturnKey();
|
||||
*/
|
||||
tapReturnKey(): Promise<Actions<R>>;
|
||||
/**
|
||||
*
|
||||
* @param pixels
|
||||
|
||||
Reference in New Issue
Block a user