browser_dispatch_event
Dispatch custom events with optional initialization parameters on target elements to simulate user interactions and trigger event handlers.
Instructions
Dispatches a custom event with optional custom initialization parameters on a target element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Event type string (e.g., 'change', 'click', 'input'). | |
| target | Yes | Selector or snapshot ID of the target element. | |
| eventInit | No | Optional event initialization options. |