* Clear the `value` of this element. This command has no effect if the * underlying DOM element is neither a text INPUT element nor a TEXTAREA * element. * * @return {!Promise } A promise that will be resolved * when the element has been cleared.
()
| 3138 | * when the element has been cleared. |
| 3139 | */ |
| 3140 | clear() { |
| 3141 | return this.execute_(new command.Command(command.Name.CLEAR_ELEMENT)) |
| 3142 | } |
| 3143 | |
| 3144 | /** |
| 3145 | * Test whether this element is currently displayed. |