interact
Trigger page actions like clicking, filling, hovering, pressing, scrolling, or waiting to reach a state for inspection, and capture any resulting console errors.
Instructions
Drive the page to reach a state worth inspecting: open a menu, submit a form, scroll to a section. Returns any new console errors the action triggered. Avoid elements that open native alert/confirm dialogs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Text for fill, key name for press, pixels for scroll, ms for wait. | |
| action | Yes | What to do. | |
| selector | No | CSS selector. Required for click, fill, hover. |