send_keys
Send keystrokes or key combinations to any element on a web page, with optional CSS selector to target a specific element before sending.
Instructions
Send a key or key combination to the focused element (or a specific element if selector is given). Use key names like 'tab', 'enter', 'escape', 'up', 'down', 'f5', or combos like 'ctrl+a', 'shift+tab'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | css | |
| key | Yes | Key name or combo e.g. 'tab', 'ctrl+a', 'enter' | |
| timeout | No | ||
| selector | No | Element to focus before sending (optional) |