docs: document osx keyboard shortcuts not working (#1311)

Fixes #776
This commit is contained in:
JoelEinbinder 2017-11-07 16:22:58 -08:00 committed by Andrey Lushnikov
parent cbe3dc58a2
commit b7566c1a83

View File

@ -1186,6 +1186,8 @@ await page.keyboard.press('KeyA');
await page.keyboard.up('Shift'); await page.keyboard.up('Shift');
``` ```
> **NOTE** On MacOS, keyboard shortcuts like `⌘ A` -> Select All do not work. See [#1313](https://github.com/GoogleChrome/puppeteer/issues/1313)
#### keyboard.down(key[, options]) #### keyboard.down(key[, options])
- `key` <[string]> Name of key to press, such as `ArrowLeft`. See [USKeyboardLayout] for a list of all key names. - `key` <[string]> Name of key to press, such as `ArrowLeft`. See [USKeyboardLayout] for a list of all key names.
- `options` <[Object]> - `options` <[Object]>