puppeteer/new-docs/puppeteer.keyboard.press.md
Alex Rudenko 6657364364
docs(new): migrate ElementHandle to TSDoc (#6073)
* docs(new): migrate ElementHandle to TSDoc

Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2020-06-22 17:21:57 +02:00

629 B

Home > puppeteer > Keyboard > press

Keyboard.press() method

Signature:

press(key: KeyInput, options?: {
        delay?: number;
        text?: string;
    }): Promise<void>;

Parameters

Parameter Type Description
key KeyInput
options { delay?: number; text?: string; }

Returns:

Promise<void>