[Home](./index.md) > [puppeteer](./puppeteer.md) > [Keyboard](./puppeteer.keyboard.md) > [press](./puppeteer.keyboard.press.md) ## Keyboard.press() method Signature: ```typescript press(key: KeyInput, options?: { delay?: number; text?: string; }): Promise; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | key | [KeyInput](./puppeteer.keyinput.md) | | | options | { delay?: number; text?: string; } | | Returns: Promise<void>