cdp_set_value
Set values in form fields like inputs and textareas, handling React/Vue/Angular controlled components by clearing content and triggering necessary events for proper form interaction.
Instructions
Set the value of an input/textarea, properly handling React/Vue/Angular controlled inputs. This clears existing content and sets new value, triggering all necessary events. Best for form fields that cdp_interact type struggles with.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector for the input/textarea | |
| value | Yes | Value to set | |
| clear_first | No | Clear existing value first (default: true) |