<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [puppeteer](./puppeteer.md) > [Keyboard](./puppeteer.keyboard.md) > [press](./puppeteer.keyboard.press.md) ## Keyboard.press() method <b>Signature:</b> ```typescript press(key: KeyInput, options?: { delay?: number; text?: string; }): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | key | KeyInput | | | options | { delay?: number; text?: string; } | | <b>Returns:</b> Promise<void>