render_interaction
Render a UI component, simulate user interactions like clicks and hovers, then capture a screenshot to verify states such as hover, dropdowns, modals, and form inputs.
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) |