browser_press_key
Simulate key presses in a web browser to automate interactions, such as typing text or navigating with keyboard shortcuts, using Playwright MCP for structured accessibility tasks.
Instructions
Press a key on the keyboard
Input Schema
Name | Required | Description | Default |
---|---|---|---|
key | Yes | Name of the key to press or a character to generate, such as `ArrowLeft` or `a` |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"key": {
"description": "Name of the key to press or a character to generate, such as `ArrowLeft` or `a`",
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}