browser_press_key
Press specified keys in a Chrome browser controlled by MCP-Undetected-Chromedriver, with optional focus on elements via CSS selector.
Instructions
Press a key on the keyboard
Args:
key: The key to press - required, (e.g. 'Enter', 'ArrowDown', 'a')
selector: Optional CSS selector to focus on before pressing the key - optional
Input Schema
Name | Required | Description | Default |
---|---|---|---|
key | Yes | ||
selector | No |
Input Schema (JSON Schema)
{
"properties": {
"key": {
"title": "Key",
"type": "string"
},
"selector": {
"default": null,
"title": "Selector",
"type": "string"
}
},
"required": [
"key"
],
"title": "browser_press_keyArguments",
"type": "object"
}