puppeteer/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.code.md

14 lines
585 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Input](./puppeteer.protocol.input.md) &gt; [DispatchKeyEventRequest](./puppeteer.protocol.input.dispatchkeyeventrequest.md) &gt; [code](./puppeteer.protocol.input.dispatchkeyeventrequest.code.md)
## Protocol.Input.DispatchKeyEventRequest.code property
Unique DOM defined string value for each physical key (e.g., 'KeyA') (default: "").
<b>Signature:</b>
```typescript
code?: string;
```