Clear the element's input (for input and textarea elements only).
()
| 79 | |
| 80 | /** Clear the element's input (for input and textarea elements only). */ |
| 81 | async clear(): Promise<void> { |
| 82 | if (!isTextInput(this.element)) { |
| 83 | throw Error('Attempting to clear an invalid element'); |
| 84 | } |
| 85 | clearElement(this.element); |
| 86 | await this._stabilize(); |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Click the element at the default location for the current environment. If you need to guarantee |
nothing calls this directly
no test coverage detected