Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Keyboard
Caution
This API is a work in progress. Some of the following functionalities might behave unexpectedly.
Supported APIs
Method | Playwright Relevant Distinctions |
---|---|
keyboard.down(key) | - |
keyboard.insertText(text) | - |
keyboard.press(key[, options]) | - |
keyboard.type(text[, options]) | - |
keyboard.up(key) | - |