do delete!

This commit is contained in:
Andrey Lushnikov 2020-02-05 17:51:09 -08:00
parent c7020aaebd
commit 5caa5771ea

View file

@ -417,7 +417,7 @@ export class ElementHandle<T extends Node = Node> extends js.JSHandle<T> {
if (value)
await this._page.keyboard.sendCharacters(value);
else
await this._page.keyboard.press('Backspace');
await this._page.keyboard.press('Delete');
}
async setInputFiles(...files: (string | types.FilePayload)[]) {