element_action
Perform focus, highlight, or scroll-into-view actions on a web element. Use it to direct attention or prepare an element for interaction.
Instructions
Perform a simple positioning/emphasis action on an element. Raises an exception if the element isn't found within the default timeout. Args: action: 'focus' (move keyboard focus to it), 'highlight' (briefly flash it using JavaScript — useful for narrating actions on a visible/headed browser), or 'scroll_into_view'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | focus | |
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |