[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchKeyEventRequest](./puppeteer.protocol.input.dispatchkeyeventrequest.md) > [commands](./puppeteer.protocol.input.dispatchkeyeventrequest.commands.md) ## Protocol.Input.DispatchKeyEventRequest.commands property Editing commands to send with the key event (e.g., 'selectAll') (default: \[\]). These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding. See https://source.chromium.org/chromium/chromium/src/+/master:third\_party/blink/renderer/core/editing/commands/editor\_command\_names.h for valid command names. Signature: ```typescript commands?: string[]; ```