render_interaction
Render a component, perform interactions such as click and hover, then screenshot the result to verify interactive UI states.
Instructions
Render a component, simulate user interactions (click, hover, focus, type), then screenshot the result. Use this to verify hover states, dropdowns, modals, form inputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Component code to render | |
| framework | No | Framework | react |
| interactions | Yes | Sequence of interactions to perform | |
| width | No | Viewport width (px) | |
| height | No | Viewport height (px) |